Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part 2 Lnai 8725

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448505, 978-3662448502

More Books

Students also viewed these Databases questions