用UltraEdit可以编写出来可以运行
class Outer
{
private int index=100;
class Inner
{
void print()
{
System.out.println(index);
}
}
void print()
{
Inner inner=new Inner();
inner.print();
}
}
class Test
{
public static void main(String[] args)
{
Outer outer=new Outer();
outer.print();
}
}