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);
1.9k
0
Do you find this helpful?
17

View all MCQs in

Java Programming

Discussion

No comments yet