Multiple Choice
If you want to provide your own code to terminate the program when the window is closed, or if you want the program to take a different action when the window closes, then you use the interface ____.
A) WindowListener
B) ActionListener
C) CloseListener
D) MouseListener
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: The JList GUI component generates events that
Q23: The class Throwable is derived from the
Q24: The order in which catch blocks are
Q25: An unchecked exception is any exception that
Q26: For interfaces such as WindowListener that contain
Q28: The try block contains statements that should
Q29: What can a method do with a
Q30: If there is a finally block after
Q31: When an exception occurs in a method,
Q32: Which class of exceptions is NOT checked?<br>A)