Said 1. Design a two-dimensional plane of class Point, containing said coordinates type of protected member variables x and y, get and set the x and y values of public methods, for the circle, the circle Point said; For the cylinder, the axis of point said,
Said 2. Design a two-dimensional plane round class Circle, it inherits from the class Point, also contains a said Circle radius of the protected member variables of type r, get and set r value of public methods, the public methods of calculation Circle area,
3. Design a class that is said Cylinder Cylinder, it inherited from class Circle, also contains a high said Cylinder type of protected member variable h, public methods for getting and setting h, calculation of Cylinder volume public
Methods,
4. Design a test class Testing, the establishment of Cylinder objects and output axis of the coordinates and radius, area, high and volume of the value of the