2015年4月21日

Java 出现 No enclosing instance of type Test1 is accessible.(转,自己也遇到了!)

摘要: 最近在看Java,在编译写书上一个例子时,由于书上的代码只有一部分,于是就自己补了一个内部类。结果编译时出现:No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing in... 阅读全文

posted @ 2015-04-21 21:17 Chenyu618 阅读(773) 评论(0) 推荐(0) 编辑

导航