public class Outer {
private int x;
public Outer(int x) { this.x = x; }
private static int sx;
public static class StaticNested {
private int x;
public StaticNested(int x) { this.x = x; }
public String toString() {
return "sx=" + sx + ", x=" + x;
}
}
public class Inner {
private int x;
public Inner(int x) { this.x = x;}
public String toString() {
"sx=" + sx + ", x=" + x + ", Outer.x=" + Outer.this.x;
}
}