public class Point3D {  double x, y, z;  public Point3D() { }  public Point3D(double x, double y, double z) {    this.x = x;    this.y = y;    this.z = z;  }}