这是代码。
public class Test {
class InnerClass{
}
public static void main(String[] args){
InnerClass ic = new InnerClass();
}
}
它说错误信息
non-static variable this cannot be referenced from a static context
after creation of object ic.
谁能给我理由?
谢谢