1.

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» C. Have the object override its process Event ( ) methods.


Discussion

No Comment Found