Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
C# Programming From Problem Analysis to Program Design Study Set 1
Quiz 11: Advanced Object-Oriented Programming Features
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 41
Multiple Choice
public class A : B, C Which of the following statements is TRUE regarding the above declaration?
Question 42
Multiple Choice
To add dynamic link library components, add a reference to the components in your program and include a using directive. The reason for adding the using directive is to ____.
Question 43
Multiple Choice
A generic class is defined ____ on the class definition line.
Question 44
Multiple Choice
Which keyword instructs the compiler to infer the type of the variable from the expression on the right side of the initialization statement?
Question 45
Multiple Choice
Use the ____ keyword to mark a class so that it can be used only as the base class from which other classes can be derived.
Question 46
Multiple Choice
If you do not want subclasses to be able to provide new implementation details, you can add the keyword ____ to methods. Doing so keeps derived classes from being able to override the method.
Question 47
Multiple Choice
Determining which method to call at runtime based on which object invokes the method describes ____.
Question 48
Multiple Choice
____ classes cannot be instantiated. ____ classes cannot be inherited.
Question 49
Multiple Choice
In order to inherit from a user-defined base class, you must ____.
Question 50
Multiple Choice
Variables declared as dynamic ____.
Question 51
Multiple Choice
Calls to the ToString( ) method emphasize the use of ____.
Question 52
Multiple Choice
Multiple inheritance is not possible in C#; ____ provides the closest work around to this because a class can implement multiple ____.
Question 53
Multiple Choice
public static void ExchangeContents (ref T value1, ref T value2) { T temp; Temp = value1; Value1 = value2; Value2 = temp; } Which of the following is TRUE regarding the above segment of code?