APPLY YOUR KNOWLEDGE
Review Questions
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? |
12: | Which |
Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.