摘要: 在写这段代码的时候,编译器在Thread1 thread02 = new Thread1("A");一直会报No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing的错误, 阅读全文
posted @ 2017-06-28 16:50 战斗的小白 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 转载于:http://yyzjava.iteye.com/blog/1178525 要搞清楚read(byte[] b)和readFully(byte[] b)的区别,可以从以下方面着手分析: 1.代码的具体实现 2.方法何时返回 3.字节是以什么方式在网络上传输的 1.read(byte[] b) 阅读全文
posted @ 2017-06-28 14:22 战斗的小白 阅读(1157) 评论(0) 推荐(0) 编辑