public class Cirkel extends Figur { public Cirkel(int x, int y, int radie) { super( x, y ); this.radie = radie; } // Cirkel public int max_x() { return super.x_center + this.radie; } // max_x public int max_y() { return super.y_center + this.radie; } // max_y public int area() { return (int)(Math.PI * this.radie * this.radie); } // area public int omkrets() { return (int)(2*Math.PI * this.radie); } // omkrets public int diameter() { return this.radie + this.radie; } // diameter private int radie; } // class Cirkel