

McqMate
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 |
View all MCQs in
Java ProgrammingNo comments yet