日期:2014-05-20 浏览次数:21012 次
public class Test
{
public static void main(String[] args)
{
Out.In x = new Out.In();
x.f();
}
}
class Out
{
private static int i= 30;
static class In
{
private int i = 20;
public void f()
{
int i = 10;
System.out.println(i);
System.out.println(this.i);
System.out.println(Out.this.i);
}
}
}
public class Test
{
public static void main(String[] args)
{
Out.In x = new Out.In();
x.f();
}
}
class Out
{
private static int i = 30;
static class In
{
private int i = 20;
public void f()
{
int i = 10;
System.out.println(i);
System.out.println(this.i);
System.out.println(Out.i);
}
}
}