If class dog has a derived class retriever, which of the following is true?

A. In the case of single inheritance, dog can have no other derived classes.
B. In the case of single inheritance, retriever is derived from 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

Computer Science & Information Technology

You might also like to view...

A(n) ________ can be line art, a cartoon drawing, a picture, or a photograph

Fill in the blank(s) with correct word

Computer Science & Information Technology

________ can be copied from document to document to save time on repetitive tasks

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is true about a master file?

A. It can contain master-level tasks. B. It can serve as a container into which subprojects are linked. C. It can contain both master-level tasks and linked subprojects. D. All of the above

Computer Science & Information Technology

The Retinex theory states that colors are not determined in isolation.

a. true b. false

Computer Science & Information Technology