Multiple choice

Which abstract class is a subclass of ComponentEvent and is the superclass for component input events in Java?

  1. The ItemEvent Class

  2. The KeyEvent Class

  3. The MouseEvent Class

  4. The InputEvent Class

  5. Javax.swing.event

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The abstract class InputEvent is a subclass of ComponentEvent and is the superclass for component input events.