Question 31 :
Name four Container classes.
Window, Frame, Dialog, FileDialog, Panel, Applet, or ScrollPane
Question 32 :
What is the difference between a Choice and a List?
A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices. Only one item may be selected from a Choice. A List may be displayed in such a way that several List items are visible. A List supports the selection of one or more List items.
Question 33 :
What class of exceptions are generated by the Java run-time system?
The Java runtime system generates RuntimeException and Error exceptions.
Question 34 :
What class allows you to read objects directly from a stream?
The ObjectInputStream class supports the reading of objects from input streams.
Question 35 :
What is the difference between a field variable and a local variable?
A field variable is a variable that is declared as a member of a class. A local variable is a variable that is declared local to a method.