/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pointtest; /** * * @author jcmtiernan */ public class PointTest { /** * @param args the command line arguments */ public static void main(String[] args) { Point pt1 = new Point(); Point pt2 = new Point(52,7); Point pt3 = new Point(9, -2); Point pt4 = new Point(3, 19); Point pt5 = new Point(-4, -6); String hW = new String("Hello World"); System.out.println(hW); System.out.println("This is our "+1+"st program."); System.out.println("The value of pt1 is "+pt1); System.out.println("The value of pt2 is "+pt2); System.out.println("The value of pt3 is "+pt3); System.out.println("The value of pt4 is "+pt4); System.out.println("The value of pt5 is "+pt5); } }