If class Dog has a subclass Retriever, which of the following is true?
A. Because of single inheritance, Dog can have no other subclasses.
B. Because of single inheritance, Retriever can extend no other class except Dog.
C. The relationship between these classes implies that Dog "is-a" Retriever.
D. The relationship between these classes implies that Retriever "has-a" Dog.
Answer: B
You might also like to view...
When you create a table, the width of all of cells in the table is:
a. equal b. proportional c. 1 inch
To execute code in a procedure, a procedure ____ must be made.
A. invocation B. cast C. call D. metric
_____ allows to create one website that provides an optimal viewing experience across a range of devices.?
A. ?Adaptive design B. ?Topographic design C. ?Responsive design D. ?Geographic design
____ cookies remain available only for the current browser session.
A. Persistent B. Temporary C. Local D. Global