Sail E0 Webinar
Question

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


Options:
A .  mouseClicked()
B .  mouseEntered()
C .  mousePressed()
D .  All of the mentioned
Answer: Option D

when we click a button, first we enter the region of button hence mouseEntered() method 


Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers