adplus-dvertising
frame-decoration

Question

Which of these methods is used to get x coordinate of the mouse?

a.

getX()

b.

getXCoordinate()

c.

getCoordinateX()

d.

getPointX()

Posted under Java Programming

Answer: (a).getX()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these methods is used to get x coordinate of the mouse?