public class J { private int x; public int setX(int x) { this.x = x; return x; } public int getX() { return x; } }