Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. The statement Stack objectStack = new Stack (); indicates that object Stack stores _______ . Object Stack integers strings 2. Attempting to invoke a

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

Object
Stack
integers
strings

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

True
False

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

Events
Interval
Duration
Enabled

4. The .NET languages have which of the following in common?

Syntax
Keywords
Base Class Library

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

BinaryReader
FileInfo
FileLoad
StreamWriter

6. 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

7. 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

8. In a WPF project, there is a textbox UI element named txtAge is used for age input, which of the following can properly obtain an integer value of age?

int age = txtAge;
int age = txtAge.Text;
int age = Convert.ToInt32(txtAge);
int age = int.Parse(txtAge.Text);

9. Which of the following best describes what a delegate is?

A strongly typed function pointer.
A lightweight thread or process that can call a single method.
A reference to an object in a different process.
An interprocess message channel

10. What keyword is added to a delegate to force subscribers to use += or =?

event
this
delegate
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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago