Whenever inheritance is used, the subclass must fit into a(n) ____ relationship with the base class.

A. equivalence
B. "has-a"
C. helper
D. "is-a"


Answer: D

Computer Science & Information Technology

You might also like to view...

The merge sort algorithm:

a. Can only be used on vectors of even length. b. Works by reducing vectors down to the base case of a two-element vector. c. Works by merging two sorted vectors into one larger sorted vector. d. Cannot be implemented recursively.

Computer Science & Information Technology

A(n) ________ is used as a placeholder for an unknown part of a value or to match a certain pattern in a value

Fill in the blank(s) with correct word

Computer Science & Information Technology

A slide is a transparent plastic sheet used with overhead projectors that use light to project an image of the sheet on a wall or a screen

Indicate whether the statement is true or false

Computer Science & Information Technology

Perl's ____ allows developers program security even when running extra privileges such as setuid or setgid programs.

A. taint mode B. safe mode C. domain mode D. sandbox mode

Computer Science & Information Technology