内部类不能定义static属性???
public class homework { public int b=100; public class Inner{ private static int a=19;//这里报错了 public void show(){ System.out.println("内部成员a"+a); System.out.println("外部成员b"+b); } } public void print(){ Inner.a=10; Inner i=new Inner(); i.show(); } }