//file: Point3Test.java public class Point3Test { public static void main (String [] args) { Point pt1 = new Point(); Point pt2 = new Point(5, 3); System.out.println("Point pt1 is: " + pt1); System.out.println("Point pt2 is: " + pt2); } } class Point { private int x; private int y; public Point () { x = 0; y = 0; } public Point (int x1, int y1) { x = x1; y = y1; } public String toString () { return ("(" + x + ", " + y + ") "); } }