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
Q1: An applet implements MouseListener, and has int
Q3: Which of the following is True regarding
Q4: A derived class has access to all
Q7: Consider the following class hierarchy and answer
Q8: A mouse event is a(n)<br>A) listener<br>B) object<br>C)
Q9: Why shouldn't an abstract method be declared
Q10: For the questions below, use the following
Q11: For the questions below, assume that Student,
Q37: The protected visibility modifier provides the best
Q45: The relationship between a parent class and