Inheritance should only be used when a(n) ______ relationship exists between the superclass and the subclass.

a) is-a
b) has-a
c) has-many
d) similar-to

a.

Computer Science & Information Technology

You might also like to view...

When you select the data range for a pie chart, you should be sure to include the total cell on the worksheet

Indicate whether the statement is true or false

Computer Science & Information Technology

Which statement is false.

a) Variables may be defined anywhere in the body of main. b) All variables must be defined before they are used. c) All variable definitions must include the name and data type of each variable. d) Several variables of the same data type may be defined in one definition.

Computer Science & Information Technology