Deck 11: Inheritance and Composition
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
Play
Full screen (f)
Deck 11: Inheritance and Composition
1
____________________ represents an "is-a" relationship.
Inheritance
2
Classes that are created from existing classes are called ____________________ classes.
derived
3
A derived class object can directly access the private members of a base class.
False
4
A derived class can have a constructor with default parameters.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
____________________ is the ability to use the same expression to denote different operations.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
Objects interact with each other via ____________________.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
In structured programming, the function is a fundamental entity.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
What does these terms refer to:
- Base classes:
- Base classes:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
What does these terms refer to:
- Composition (aggregation):
- Composition (aggregation):
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
What does these terms refer to:
- Derived classes:
- Derived classes:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
What does these terms refer to:
- Encapsulation:
- Encapsulation:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
What does these terms refer to:
- Inheritance:
- Inheritance:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
What does these terms refer to:
- Multiple inheritance:
- Multiple inheritance:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
What does these terms refer to:
- Polymorphism:
- Polymorphism:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
What does these terms refer to:
- Single inheritance:
- Single inheritance:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck