Programming - AWT
You Are Here :: Home > JAVA > AWT - General Questions
31. |
An _______________________ requires this method:public void actionPerformed (ActionEvent e)
|
A. |
ActionListener |
B.
|
EventListener |
C.
|
TextListener
|
D.
|
none
|
|
Answer: Option A
Explanation:
An ActionListener requires this method:public void actionPerformed (ActionEvent e) |
|
32. |
You can use ____________________ to get the text
|
A. |
getText() |
B.
|
getColor() |
C.
|
getBox()
|
D.
|
getLabel()
|
|
Answer: Option A
Explanation:
You can use getText( ) to get the text |
|
33. |
A ___________________ listens for any and all keys
|
A. |
ActionListener |
B.
|
EventListener |
C.
|
TextListener
|
D.
|
none
|
|
Answer: Option B
Explanation:
A TextListener listens for any and all keys |
|
34. |
A _________________ requires this method: public void textValueChanged(TextEvent e)
|
A. |
ActionListener |
B.
|
EventListener |
C.
|
TextListener
|
D.
|
none
|
|
Answer: Option B
Explanation:
A TextListener requires this method: public void textValueChanged(TextEvent e) |
|
35. |
________________ uses AWT Containers
|
A. |
Swings |
B.
|
Applets |
C.
|
Servlets
|
D.
|
AWT
|
|
Answer: Option A
Explanation:
Swing uses AWT Containers |
|
36. |
AWT stands for _______________________
|
A. |
Abstract Window ToolKit. |
B.
|
Abstract Word Kit |
C.
|
Android Window Toolkit
|
D.
|
Abstract Windows Toolbar
|
|
Answer: Option A
Explanation:
AWT stands for Abstract Window ToolKit. |
|
« prev
next »