class Sphere extends Shape implements Shape3D{
Point3D center;
double radius;

Sphere(Point3D center,double radius){
this.center=center;
this.radius=radius;
}
public void display(){
System.out.println("Sphere");
}
public double getVolume(){
return 4*Math.PI*radius*radius*radius/3;
}
}
class sample151{
public static void main(String args[]){
Circle c=new Circle(new Point3D(0,0,0),new Point3D(1,0,0));
c.display();
System.out.println(c.getArea());
Sphere s=new Sphere(new Point3D(0,0,0),1);
s.display();
System.out.println(s.getVolume());
}
}