Q.

What is the preferred way to handle an object's events in Java 2?

A. Override the object's handleEvent( ) method.
B. Add one or more event listeners to handle the events
C. Have the object override its process Event ( ) methods.
D. Have the object override its dispatch Event ( ) methods.
Answer» B. Add one or more event listeners to handle the events
1.6k
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet