Fork me on GitHub
摘要: 推荐博客:http://blog.csdn.net/wangjun_pfc/article/category/341137 1.在Java中,类中的静态方法(特别是main方法)不能直接调用非静态方法。 当编写内部类出现这样的编译错误:No enclosing instance of type E 阅读全文
posted @ 2016-01-05 21:07 Michaelia 阅读(574) 评论(0) 推荐(0) 编辑