Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
8 Cards in this Set
- Front
- Back
_________ is a form of software reusability in which new classes acquire the members of existing classes and enhance those classes with new capabilities.
|
Inheritance
|
|
A base class’s _________ members can be accessed only in the base class declaration and in derived class declarations.
|
protected
|
|
In a(n) _________ relationship, an object of a derived class can also be treated as an object of its base class.
|
is-a or inheritance
|
|
In a(n) _________ relationship, a class object has references to objects of other classes as members.
|
has-a or composition
|
|
In single inheritance, a base class exists in a(n) _________ relationship with its derived classes.
|
hierarchical
|
|
A base class’s _________ members are accessible anywhere that the application has a reference to an object of that base class or to an object of any of its derived classes.
|
public
|
|
When an object of a derived class is instantiated, a base class _________ is called implicitly or explicitly.
|
constructor
|
|
Derived class constructors can call base class constructors via the _________ keyword.
|
base
|