Exam 11: More Object-Oriented Programming Concepts
Exam 1: An Overview of Computers and Programming60 Questions
Exam 2: Elements of High-Quality Programs59 Questions
Exam 3: Understanding Structure60 Questions
Exam 4: Making Decisions60 Questions
Exam 5: Looping59 Questions
Exam 6: Arrays60 Questions
Exam 7: File Handling and Applications59 Questions
Exam 8: Advanced Data Handling Concepts60 Questions
Exam 9: Advanced Modularization Techniques60 Questions
Exam 10: Object-Oriented Programming60 Questions
Exam 11: More Object-Oriented Programming Concepts60 Questions
Exam 12: Event-Driven Gui Programming, Multithreading, and Animation60 Questions
Select questions type
You can create constructors for a class with or without parameters.
(True/False)
4.7/5
(37)
The relationship created with composition is called a(n)____ relationship.
(Multiple Choice)
4.9/5
(36)
The capability to inherit from more than one class is called ____ inheritance.
(Multiple Choice)
4.8/5
(31)
Match each term with a statement below.
-A segment of code that can handle an exception that might be thrown by the try block that precedes it
(Multiple Choice)
5.0/5
(26)
When a data field within a class is ____,no outside class can use it-including a child class.
(Multiple Choice)
4.8/5
(38)
Any constructor you write must have the same name as the class it constructs,and it cannot have a return type.
(True/False)
4.7/5
(27)
When using existing objects,you need to concentrate only on the interface to those objects,not on the internal instructions that make them work.
(True/False)
4.8/5
(42)
Classes that depend on field names from parent classes are said to be ____ because they are prone to errors.
(Multiple Choice)
4.9/5
(37)
A method's name and a list of argument types together are its ____.
(Multiple Choice)
4.8/5
(34)
An instance of a class becomes eligible for destruction when it is no longer possible for any code to use it-that is,when it goes out of ____________________.
(Short Answer)
4.8/5
(34)
Discuss the general principle of exception handling in object-oriented programming.
(Essay)
4.9/5
(42)
The most common way to declare a destructor explicitly is to use an identifier that consists of ____.
(Multiple Choice)
4.9/5
(29)
The entire list of parent classes from which a child class is derived constitutes the ____ of the subclass.
(Multiple Choice)
4.8/5
(35)
In object-oriented terminology,the generic name used for errors is ____.
(Multiple Choice)
4.7/5
(44)
You cannot provide parameters to a destructor;it must have an empty parameter list.
(True/False)
4.8/5
(36)
A derived class always ____ case or instance of the more general base class.
(Multiple Choice)
4.9/5
(34)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)