class Outer{ int type; String s = "Hello"; class InnerOne{ void f1(){ String type; System.out.println(Outer.this.type); System.out.println(this.type); System.out.println(s); } } static class InnerTow{ void f2(){ System.out.println(type); } }
转发至微博
转发至微博