Deck 11: Inheritance and Composition

Full screen (f)
exit full mode
Question
____________________ represents an "is-a" relationship.
Use Space or
up arrow
down arrow
to flip the card.
Question
Classes that are created from existing classes are called ____________________ classes.
Question
A derived class object can directly access the private members of a base class.
Question
A derived class can have a constructor with default parameters.
Question
____________________ is the ability to use the same expression to denote different operations.
Question
Objects interact with each other via ____________________.
Question
In structured programming, the function is a fundamental entity.
Question
What does these terms refer to:

- \gg Base classes:
Question
What does these terms refer to:

- \gg Composition (aggregation):
Question
What does these terms refer to:

- \gg Derived classes:
Question
What does these terms refer to:

- \gg Encapsulation:
Question
What does these terms refer to:

- \gg Inheritance:
Question
What does these terms refer to:

- \gg Multiple inheritance:
Question
What does these terms refer to:

- \gg Polymorphism:
Question
What does these terms refer to:

- \gg Single inheritance:
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg Single inheritance:
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 15 flashcards in this deck.