

McqMate
Q. |
Suppose that you want to have an object eh handle the TextEvent of TextArea object t. How should you add eh as the event handler for? |
A. | t.addTextListener(eh); |
B. | eh.addTextListner(t); |
C. | addTextListner(eh.t); |
D. | addTextListner(t,eh); |
Answer» D. addTextListner(t,eh); |
View all MCQs in
Java ProgrammingNo comments yet