class Point{ float x, y; Point(){ x = random(360); y = random(360); } Point(float x, float y){ this.x = x; this.y = y; } public float getX(){ return x; } public float getY(){ return y; } }