Multiple Choice
Which of the following is an example of multiple inheritance?
A) a computer can be a mainframe or a PC
B) a PC can be a desktop or a laptop
C) a laptop is both a PC and a portable device
D) a portable device is a lightweight device
E) Macintosh and IBM PC are both types of PCs
Correct Answer:

Verified
Correct Answer:
Verified
Q14: The JavaFX API offers the programmer controls
Q15: You may use the super reserved word
Q16: Assume a class Triangle has been defined.
Q17: A motorcycle inherits properties from both a
Q18: In order to use a dialog box
Q20: If class AParentClass has a protected instance
Q21: Example Code Ch 09-1<br>Consider the following class
Q22: A derived class has access to all
Q23: Explain the difference between implementing an interface
Q24: Aside from permitting inheritance, the visibility modifier