class Outer {
public int num = 10;
class Inner {
public int num = 20;
public void show() {
int num = 30;
System.out.println(?);
System.out.println(??);
System.out.println(???);
}
}
}
class InnerClassTest {
public static void main(String[] args) {
Outer.Inner oi = new Outer().new Inner();
oi.show();
}
}作者: 小b,试试就试试 时间: 2016-8-2 23:10
我又出来下逛逛了,不会有大我吧作者: 小b,试试就试试 时间: 2016-8-2 23:12
num , this.num , Outer.this.num