No enclosing instance of type jin is accessible. Must qualify the allocation with an enclosing instance of type jin (e.g. x.new A() where x is an instance of jin).
很简单的创建一个对象 出现这样的错误是为什么呢
很简单的创建一个对象 出现这样的错误是为什么呢
OutClass c = new OutClass();
InClass t = c.new InClass ();