-
Which of these methods can be used to obtain the coordinates of a mouse?
-
- getCoordinates()
- getMouseXY()
- getPoint()
- getMouseCordinates()
- None of these
Correct Option: C
getPoint() method can be used to obtain coordinates of a mouse, alternatively we can use getX() and getY() methods for x and y coordinates of mouse respectively.