public static class Point{ //Instanzvariablen double x; double y; //Konstruktor Point(double x, double y){ double getX(); double getY(); } //Methoden double getX(){ return x; } double getY(){ return y; } }