Multiple choice

Which of the following methods are valid in Java for handling Events?

  1. mouseEnetered()

  2. keyReleased()

  3. mouseDragged()

  4. Both (1) and (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.