I am creating a program which has the following requirements:

-Class named Point must be superclass of the hierarchy
-Square and Cube are subclasses of Point
-Private data of Point are the x and...