黑马程序员--No enclosing instance of type E is accessible.
——Java培训、Android培训、iOS培训、.Net培训、期待与您交流! ——- 过滤器设置成内部类还是外部类? 如果内部类设置成内部,就不能定义含参数的构造函数,程序的扩展小,而且不注意的话编译时回会报出如下的错误:No enclosing instance of type E is accessible. Must qualify the allocation with
原创
2015-05-14 01:59:51 ·
1163 阅读 ·
0 评论