a. You CAN add an Applet to a Container, it works (i.e. no compilation or runtime exceptions)
b. You CAN add a Component to a Container
c. You CAN add a Container to a Container since the latter is_a Component
d. You CAN add a Panel to a Container since a Panel is_a Container and from c we know that a Container can be added to a Container
e. You CANNOT add a MenuItem to a Container (only PopupMenu)
So the only correct answer for that question is e.
Now, the question may be tricky since some Containers (Window...) cannot be added to a Container so,...
I'd be happy to discuss about that...
HIH
------------------
Valentin Crettaz
Sun Certified Programmer for
Java 2 Platform
[This message has been edited by Valentin Crettaz (edited November 15, 2001).]