Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q4: Which component method is used to access
Q5: Match the following<br>(a) Datagram Socket (i) UDP
Q6: Which of these events will be generated
Q7: Which refers to a channel through which
Q8: State true or false<br>(i) public can only
Q10: The _ method help in clearing the
Q11: Which statement is static and synchronized in
Q12: Which of these methods are used to
Q13: What is the disadvantage of Type-4 Native-Protocol
Q14: Which of these methods in KeyEvent class