
Working with AWT • 517
Multiple Choice Questions
1. _______________ is the topmost class in the
window hierarchy
( a) Component ( c) Container
( b) Event ( d) Window
2. Match the following:
1. Button a. ItemListener
2. Checkbox b. ActionListener
3. ScrollBar c. AdjustmentListener
( a) 1-a, 2-b, 3-c ( c) 1-c, 2-a, 3-b
( b) 1-b, 2-c, 3-a ( d) 1-b, 2-a, 3-c
3. A ___________ object is a component for plac-
ing text in a container.
( a) Textbox ( c) Label
( b) Checkbox ( d) None of the above
4. The __________________ class is used to group
together a set ...