定义空间的三维Point3d
class Point3d extends Point {
int z;
public Point3d (int x, int y, int z) {
super (x, y );
this.z = z;
}
public Point3d(){
this(0,0,0);
}
}
定义空间的三维Point3d
class Point3d extends Point {
int z;
public Point3d (int x, int y, int z) {
super (x, y );
this.z = z;
}
public Point3d(){
this(0,0,0);
}
}