请在每条横线处填写一个语句,使程序的功能完整,且输出结果为911。
注意:请勿改动main()主方法和其他已有的语句内容,仅在横线处填入适当的语句。
public class Outer
{
public static void main(String args[])
{
Outer i = new Outer();
i.taskInner();
}
public class Inner
{
private int size;
public void doSomething(int size)
{
____________________//访问局部变量
this.size++;//访问内部类的成员变量
____________________//访问外部类的成员变量
System.out.println(size+" "+this.size+" "+Outer.this.size);
}
}
public void taskInner()
{
__________________
k.doSomething(8);
}
private static int size;
}