// A class that makes use of the Point class public class UsePoint { public static void main(String[] args) { Point p1 = new Point(); p1.x = 5; p1.y = -6; System.out.println("p1: (" + p1.x + ", " + p1.y + ")" ); Point p2 = new Point(10, 12); System.out.println( "p2: (" + p2.x + ", " + p2.y + ")" ); } }