APPLY YOUR KNOWLEDGE
|1:||Which class is the immediate superclass of the Container class?|
|2:||Which method of the Component class is used to set the position and size of a component?|
|3:||Name three subclasses of the Component class.|
|4:||Which methods are used to get and set the text label that a Button object displays?|
|5:||Name two subclasses of the TextComponent class.|
|6:||Which TextComponent method is used to set a TextComponent to the read-only state?|
|7:||How can the Checkbox class be used to create a radio button?|
|8:||Name four Container classes.|
|9:||Which class is the immediate superclass of the MenuComponent class?|
|10:||Which Checkbox method allows you to tell if a Checkbox is checked?|
|11:||What is the difference between a Choice and a List?|
Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.