Which of the following statemens about the ancestry of the class java.applet.Applet is
correct?
A) An
Applet is a kind of Container.
B) An Applet is a kind of Window.
C) An applet is a kind of Component.
D) An Applet is a kind of Panel.
Answer:
B is an incorrect statement, and thus the correct answer. Windows extends Contatiner directly, whereas Applet extends Panel, which extends Container, which extends Component.
Is this worded incorrectly?(the bold)
Panel is a subclass of Container because it extends it. Is it safe to say that 'A Panel is a kind of Container'.