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
Q3: Which one of the following does not
Q4: What is default layout manager for panels
Q5: java.awt.Component class method getLocation() returns Point (containg
Q6: Which of the following methods finds the
Q7: What is the disadvantage of Type-4 Native-Protocol
Q9: Which component method is used to access
Q10: Which of the following creates a List
Q11: An Applet has its Layout Manager set
Q12: How do you change the current layout
Q13: Which of the following methods can be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents