Exam 8: More Object Concepts
Exam 1: An Overview of Computer Programming50 Questions
Exam 2: Applications and Data50 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Looping50 Questions
Exam 5: Arrays50 Questions
Exam 6: Using Methods50 Questions
Exam 7: Object-Oriented Concepts50 Questions
Exam 8: More Object Concepts50 Questions
Exam 9: Event-Driven Programming With Graphical User Interfaces50 Questions
Exam 10: Exception Handling50 Questions
Exam 11: System Modeling With the Uml50 Questions
Exam 12: Manipulating Larger Quantities of Data50 Questions
Select questions type
A ____________________ is declared with the class name preceded by a tilde (~), and you supply no arguments.
Free
(Short Answer)
4.8/5
(39)
Correct Answer:
destructor
Professional programmers constantly create new class ____________________ for use with OOP languages.
Free
(Short Answer)
4.8/5
(37)
Correct Answer:
libraries
A(n) ____________________ is used as the basis for inheritance.
Free
(Short Answer)
4.9/5
(31)
Correct Answer:
base class
A(n) ___________________ is another name for a child class and derived class.
(Short Answer)
4.9/5
(42)
The capability to inherit from more than one class is called ____________________.
(Short Answer)
4.7/5
(35)
Derived classes usually have fields and methods that are more ____ than those of their parent classes.
(Multiple Choice)
4.7/5
(39)
When a data field is private, it is said to be ____ to any class other than the one in which it is defined.
(Multiple Choice)
4.8/5
(35)
If a class's only constructor requires an argument, you must provide an argument for every object of the class you create.
(True/False)
4.8/5
(31)
The type of polymorphism that applies specifically to objects of the same parent class is sometimes called ____ polymorphism.
(Multiple Choice)
4.9/5
(29)
Classes that depend on field names from parent classes are said to be ____________________ because they are prone to errors.
(Short Answer)
4.8/5
(38)
What is accomplished when you assign a derived class object to an object of any of its superclass types?
(Multiple Choice)
5.0/5
(39)
____ is the process of creating a new, derived class from a base class.
(Multiple Choice)
4.8/5
(41)
When a superclass requires parameters upon instantiation, even if you have no other reason to create a(n) ____, you must write one so it can call its superclass's constructor.
(Multiple Choice)
4.8/5
(40)
An ____ child class method contains the same name and parameters as the parent class method.
(Multiple Choice)
4.7/5
(40)
An instance method or constructor may be overloaded by providing the same name and ____ argument list.
(Multiple Choice)
4.9/5
(42)
When you instantiate an object that is a member of a class, you are actually calling a constructor method.
(True/False)
4.9/5
(36)
The ____________________ establishes an object by reserving enough memory space for it and possibly initializing member variables.
(Short Answer)
4.9/5
(39)
An ____ child class method has the same name and different parameter list as the parent class method.
(Multiple Choice)
4.8/5
(42)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)