public class Cercle {
    int x, y;  // position du centre
    int rayon; // le rayon du cercle
    
    // Constructeurs
    public Cercle(int x, int y, int rayon) {
        this.x = x;
        this.y = y;
        this.rayon = rayon;
    }
    
    // Méthodes publiques
    public int getX() {
        return x;
    }
 
     public int getY() {
        return y;
    }
 
     public int getRayon() {
        return rayon;
    }
 
    public void setX(int x) {
        this.x = x;
    }
    
    public void setY(int y) {
        this.y = y;
    }
    
    public void setRayon(int r) {
        rayon = r;
    }
    
    public void move(int x, int y) {
        this.x = x;
        this.y = y;
    }
}
    