Exam 11: Object-Oriented Programming: Inheritance

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

A base class's constructors are inherited into its derived classes.

(True/False)
4.8/5
(29)

Every object of a base class is an object of that class's derived classes.

(True/False)
5.0/5
(44)

A key to improving the software development process is encouraging soft ware reuse.

(True/False)
4.9/5
(30)

Multiple inheritance,widely used in C#,is the process of inheriting from more than one class.

(True/False)
4.9/5
(33)

When a program creates a derived-class object,the object constructor is the last constructor called and the first whose body finishes executing.

(True/False)
4.9/5
(29)

The first task of any derived-class constructor is to call its base-class con structor.

(True/False)
4.7/5
(31)

A "copy-and-paste" approach is a simple and efficient way from a software-engineering perspective of providing func tionality that exists in other classes.

(True/False)
4.8/5
(27)

A base class is often designed by factoring out commonalities among a set of classes.

(True/False)
4.7/5
(29)

Inheritance preserves the integrity of a base class.

(True/False)
4.9/5
(41)

A derived class is often larger and more general than its base class.

(True/False)
4.9/5
(40)

If a base class constructor is overridden,the original constructor can no longer be called explicitly by the derived class.

(True/False)
4.9/5
(43)
Showing 41 - 51 of 51
close modal

Filters

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