class Circle
public class Circle extends TwoDimFig {
Circle(double r) { this.r = r; }
public String describe() {
return "a circle with radius " + r; }
public int nVertices() { return 0; }
public int nFaces() { return 1; }
public double area() { return r * r * 3.14159; }
public double volume() { return 0.0; }
public void paint(Graphics g) {
g.drawOval(0, 0, (int)r, (int)r);