public class cirkel_c extends figur_c { public cirkel_c( int x, int y, int radie ) { super( x, y ); this.radie = radie; } // cirkel_c 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_c