Point2d class is an abstract class and has Point2d.Float and Point2d.Double as inner classes. I saw in one book of
Java by Igor Hortan i think where he created instances of inner classes with out creating a outer Object. He had code like new Point2d.Float().