Multiple Choice
Which of the following statements about an inner class is true?
A) An inner class can only be defined within a specific method of its enclosing class.
B) An inner class can only be defined outside of any method within its enclosing class.
C) An inner class must implement an interface.
D) An inner class may be anonymous.
Correct Answer:

Verified
Correct Answer:
Verified
Q29: Suppose listener is an instance of a
Q31: A(n) _ has an instance method addActionListener()
Q32: _ methods must be implemented when using
Q33: Consider the following code snippet: class MyListener
Q35: Assuming that interface Resizable is declared elsewhere,
Q36: When an event occurs, the event source
Q37: Consider the following code snippet: public interface
Q38: Event listeners are often installed as _
Q39: The Timer class is found in the
Q62: Which of the following statements about abstract