Programming - AWT
You Are Here :: Home > JAVA > AWT - General Questions
25. |
Different components may send different events, and require different ______________
|
A. |
Listeners |
B.
|
Contianers |
C.
|
Frames
|
D.
|
Boxes
|
|
Answer: Option A
Explanation:
Different components may send different events, and require different listeners |
|
26. |
_______________________ are interfaces, not classes
|
A. |
Listeners |
B.
|
Contianers |
C.
|
Frames
|
D.
|
Boxes
|
|
Answer: Option A
Explanation:
Listeners are interfaces, not classes |
|
27. |
An ______________________ is a group of methods that must be supplied
|
A. |
Interface |
B.
|
Servlets |
C.
|
Jsp
|
D.
|
Swings
|
|
Answer: Option A
Explanation:
An interface is a group of methods that must be supplied |
|
28. |
For a Button, you need an ActionListener
|
A. |
ActionListener |
B.
|
EventListener |
C.
|
TextListener
|
D.
|
none
|
|
Answer: Option A
Explanation:
For a Button, you need an ActionListener |
|
29. |
An _____________________ must have an actionPerformed(ActionEvent) method
|
A. |
ActionListener |
B.
|
EventListener |
C.
|
TextListener
|
D.
|
none
|
|
Answer: Option A
Explanation:
An ActionListener must have an actionPerformed(ActionEvent) method |
|
30. |
An ____________________ listens for someone hitting the Enter key
|
A. |
ActionListener |
B.
|
EventListener |
C.
|
TextListener
|
D.
|
none
|
|
Answer: Option A
Explanation:
An ActionListener listens for someone hitting the Enter key |
|
« prev
next »