Miscellaneous In C Sharp - Study Mode

[#61] Which of these is used as default for a member of a class if no access specifier is used for it?
Correct Answer

(A) private

[#62] What is the process by which we can control what parts of a program can access the members of a class?
Correct Answer

(C) Encapsulation

[#63] What kind of exception is being thrown if Wait(), Pulse() or PulseAll() is called from code that is not within synchronized code?
Correct Answer

(C) SynchronizationLockException

[#64] What does the "var" keyword do in C#?
Correct Answer

(B) Specifies an implicitly typed variable

[#65] Which of the following is NOT a valid type conversion in C#?
Correct Answer

(C) string to int