Multiple Choice
To handle window events, if the class containing the application program does not extend the definition of another class, you can make that class extend the definition of the class ____.
A) MouseAdapter
B) Adapter
C) WindowAdapter
D) WindowListener
Correct Answer:

Verified
Correct Answer:
Verified
Q3: NoSuchElementException is a method of the class
Q5: If you have created an exception class,
Q16: The MouseListener interface defines _ methods.<br>A) two<br>B)
Q17: Which of the following methods prints a
Q18: How many constructors does the class Exception
Q20: If you want to provide your own
Q24: int number;<br>Boolean done = false;do<br>{<br>Try<br>{<br>System.out.print("Enter an integer:
Q41: If a negative value is used for
Q42: When is a finally block executed?<br>A) Only
Q47: The class Exception contains two constructors.