Description: Personal original code: Point2D and Point3D mapping. Write a java application program, namely the preparation of two classes Point2D, the Point3D to the point of the two-dimensional space and three-dimensional space, to meet the following requirements:
(1) Point2D two integer member variables x and y (respectively for the two-dimensional space X, the Y-direction coordinate), the construction method in Point2D to achieve its member variables x, y initialization.
(2) Point2D a void member offset (int a, int b), it can Point2D translational.
(3) the Point3D is a direct subclass of Point2D, it has three integer member variables x, y, and z (respectively, three-dimensional space X, Y, Z direction coordinate), Point3D has two constructors: the Point3D (int x int y, int z) and the Point3D (Point2D p-int z), both of which can Point3D member variable x, y, and z initialization.
(4) the Point3D a void member offset (int a, int b, int c), the method can achieve the Point3D the pan.
(5) the P
To Search:
File list (Check if you may need any files):
PointDraw.java
本Java程序设计详细要求.txt