Question 31
The statement Stack objectStack = new Stack(); indicates that object Stack stores _______ .
Question 32
Attempting to invoke a derived-class-only method through a base-class variable is an error.
Question 33
Which of the following property specify the duration of a Timer in System.Timers.Timer
Question 34
In the System.Media.SoundPlayer class what method is used to load a sound using a new thread?
Question 35
When should a program explicitly use the this reference?
| accessing a private variable |
| accessing a public variable |
| accessing a local variable |
| accessing a field that is shadowed by a local variable |
Question 36
The .NET languages have which of the following in common?
Question 37
Which of the following classes is not in the System.IO namespace?
Question 38
Why does a syntax error occur when trying to declare a variable called 'lock'?
| 'lock' is a reserved keyword |
| 'lock' is a system attribute |
Question 39
This keyword is used to extend or modify the abstract or virtual implementation of an inherited method, property, indexer, or event.
Question 40
Which of the following is an appropriate declaration of an abstract method?
| public abstract int GetScore() { } |
| public abstract int GetScore(); |
| public int GetScore() as abstract; |