1 package p; 2 class getE{ 3 int y; getY()4 public int getY() { 5 return y; 6 } setY(int y)7 public void setY(int y) { 8 this.y = y; 9 } 10 } 11