Exam 11: Inheritance

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Inheritance takes advantage of an existing generalization/specialization relationship.

(True/False)
4.9/5
(82)

A subclass cannot contain a data member that is not in its base class.

(True/False)
4.8/5
(91)

No objects can be created of a base class that is an abstract class.

(True/False)
4.8/5
(89)

A subclass cannot inherit methods from another class at its same level.

(True/False)
4.7/5
(82)

A class definition may include a constructor or a destructor,but will not reasonably include both.

(True/False)
4.9/5
(85)

When two classes have a generalization/specialization relationship,the more specific class may contain additional information.

(True/False)
4.8/5
(72)

The class at the highest level in a class diagram

(Multiple Choice)
4.8/5
(81)

When two constructors are given in a class,they execute in sequence during processing.

(True/False)
4.9/5
(72)

Which of the following is not an example of a generalization/specialization relationship?

(Multiple Choice)
4.9/5
(80)

An abstract class

(Multiple Choice)
4.9/5
(85)
Showing 21 - 30 of 30
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)