System.out.println("Data from the object of type "
+ "Point2D.Double");
System.out.println(thisObj.doublePointVar.getX());
System.out.println(thisObj.doublePointVar.getY());
System.out.println("\nData from the object of type "
+ "Point2D.Float");
System.out.println(thisObj.floatPointVar.getX());
System.out.println(thisObj.floatPointVar.getY());
}//end main
}//end controlling class Point01
Figure 5