public class Kreis { private double radius; private int x,y; Kreis() { } Kreis(double radius, int x, int y) { this.radius = radius; this.x=x; this.y=y; } public double getRadius() { return radius; } public void setRadius(double radius) { this.radius = radius; } public int getX() { return x; } public void setX(int x) { this.x=x; } public int getY() { return y; } public void setY(int y) { this.y=y; } public double getUmfang() { return Math.PI*2*radius; } public double getFlächeninhalt() { return Math.PI*radius*radius; } }