Event Listeners Interfaces

1

Which of these is superclass of all Adapter classes?

A. Applet
B. ComponentEvent
C. Event
D. InputEvent

2

Which of these are constants defined in WindowEvent class?

A. WINDOW_ACTIVATED
B. WINDOW_CLOSED
C. WINDOW_DEICONIFIED
D. All of the mentioned

3

Which of these methods is defined in MouseMotionAdapter class?

A. mouseDragged()
B. mousePressed()
C. mouseReleased()
D. mouseClicked()

4

Which of these methods will be invoked if a character is entered?

A. keyPressed()
B. keyReleased()
C. keyTyped()
D. keyEntered()

5

Which of these methods will respond when you click any button by mouse?

A. mouseClicked()
B. mouseEntered()
C. mousePressed()
D. All of the mentioned