[问答题] private static int size;
参考答案:
size++; Outer.this.size++; Inner k=new Inner();问题解析:
本题主要考查内部类的概念,super,this关键字的用法。解答本题的关键是熟练掌握super,this关键字的用法。在本题中 size++;语句是访问局部变量size,Outer.this.size++;语句的功能是访问外部类的成员变量size,Inner K=new Inner();语句的功能是生成内部类Inner的对象K。

![[问答题] private static int size; [问答题] private static int size;](http://www.mshxw.com/aiimages/31/250175.png)
