Question: Question 31 The statement Stack objectStack = new Stack (); indicates that object Stack stores _______ . Object Stack integers strings Question 32 Attempting to

Question 31

The statement Stack objectStack = new Stack(); indicates that object Stack stores _______ .

Object
Stack
integers
strings

Question 32

Attempting to invoke a derived-class-only method through a base-class variable is an error.

True
False

Question 33

Which of the following property specify the duration of a Timer in System.Timers.Timer

Events
Interval
Duration
Enabled

Question 34

In the System.Media.SoundPlayer class what method is used to load a sound using a new thread?

Load
LoadAsync
Play
Stop

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?

Syntax
Keywords
Base Class Library
No answer text provided.

Question 37

Which of the following classes is not in the System.IO namespace?

BinaryReader
FileInfo
FileLoad
StreamWriter

Question 38

Why does a syntax error occur when trying to declare a variable called 'lock'?

'lock' is immutable
'lock' is mutable
'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.

extend
replace
override
sealed

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;
none of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!