private int x; private int y; public Point(int x, int y){ this.x = x; this.y = y; } public void setY(int y){ this.y = y; } public int getY() {