class JavaClass { private int myX = 0; public int getX() { return myX; } public void setX(int x) { myX = x; } }