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
Q40: An exception that can be recognized by
Q41: Which class of exceptions is NOT checked?
A)
Q42: How many times will the code in
Q43: Which of the following statements is NOT
Q44: Which of the following is NOT a
Q45: To handle window events, if the class
Q46: Which of the following methods prints a
Q47: What is the most likely type of
Q48: Which exception-handling technique is the code in
Q50: The MouseListener interface defines _ methods.
A) two
B)
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