A Point object contains method for getting the x and y positions. Use those to print it out rather than just the Point object.
So it would be something like:



System.out.println("X coordinate:...