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
Answer: A
You might also like to view...
Answer the following statements true (T) or false (F)
1. The term "default constructor" is applied to the first constructor written by the author of the class. 2. A method that stores a value in a class's field or in some other way changes the value of a field is known as a mutator method. 3. A constructor is a method that is automatically called when an object is created. 4. The java.lang package is automatically imported into all Java programs. 5. Shadowing is the term used to describe where the field name is hidden by the name of a local or parameter variable.
Why might you choose to use a function template instead of a macro?
What will be an ideal response?
XHTML requires that only properties be separated by semicolons
Indicate whether the statement is true or false
The current version of IMAP is ____.
A. IMAP3rev1 B. IMAP3rev4 C. IMAP4rev1 D. IMAP4rev4