class Testing { private final static int NUMBER_OF_POINTS = 12; private static JimsPoint[] thePts = new JimsPoint[NUMBER_OF_POINTS]; public static void main(String[] args){ thePts[0] = new JimsPoint(1.0,2.0); for (int i=0; i<NUMBER_OF_POINTS; i++){ if (thePts[i] != null) { System.out.println(" point #"+i+" = " + thePts[i].asString()); } } } }