InterviewSolution
Saved Bookmarks
| 1. |
Which of these methods can be used to obtain the coordinates of a mouse?(a) getPoint()(b) getCoordinates()(c) getMouseXY()(d) getMouseCordinates() |
|
Answer» Correct choice is (a) getPoint() The explanation is: 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. |
|