Multiple choice

Which of the following methods is not defined in the WindowEvent class in Java?

  1. getWindow()

  2. getOppositeWindow()

  3. getNewState()

  4. windowLostFocus(WindowEvent e)

  5. None of these

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

This is the correct choice. windowLostFocus(WindowEvent e) method is not present in the WindowEvent class.