Exam 11: Advanced Object-Oriented Programming Features
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections74 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events75 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working With Files75 Questions
Exam 14: Working With Databases75 Questions
Exam 15: Web-Based Applications73 Questions
Select questions type
Multiple inheritance is not possible in C#; ____ provides the closest work around to this because a class can implement multiple ____.
(Multiple Choice)
4.8/5
(34)
To override a method, the base method may include any of the following keywords, EXCEPT ____.
(Multiple Choice)
4.8/5
(41)
Partial classes enable a class to be split into two or more files and combined when the application is compiled and ran.
(True/False)
4.9/5
(35)
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.
(Multiple Choice)
4.8/5
(41)
____ classes cannot be instantiated. ____ classes cannot be inherited.
(Multiple Choice)
4.9/5
(38)
With C#, you have single inheritance, but a class can ____________ multiple interfaces.
(Short Answer)
4.8/5
(34)
When you have a method that has the same name in both the base and derived classes, use the keyword super to refer to the method in the base class.
(True/False)
4.8/5
(38)
Both var and ____________ enables developers to not associate a specific data type to the actual data when the memory declaration for the variable is written.
(Short Answer)
4.9/5
(43)
Generics enable you to identify where data will change in the code segment by putting a placeholder in the code for the type parameters.
(True/False)
4.7/5
(37)
Software components often take the form of classes or collections of methods.
(True/False)
4.8/5
(36)
public class A : B, C
Which of the following statements is TRUE regarding the above declaration?
(Multiple Choice)
4.7/5
(26)
You can think of an interface as a class that is totally ____________.
(Short Answer)
4.9/5
(40)
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.
(Multiple Choice)
4.8/5
(32)
If a class implements more than one ____________, they all appear on the class definition line separated by commas.
(Short Answer)
4.9/5
(42)
An overloaded method must have exactly the same signature as the method it is overriding.
(True/False)
4.9/5
(30)
____________ allows you to create a general class and then define specialized classes that have access to the members of the general class.
(Short Answer)
4.7/5
(38)
Showing 21 - 40 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)