Multiple choice

Which of the following methods is/are valid in Java for event handling?

  1. mouseEnetered()

  2. keyReleased()

  3. mouseDragged()

  4. Both 1 & 2

  5. All of these

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

This is correct answer because all of the given methods are valid in java event handling.