摘要: 转载于:https://www.zhihu.com/question/20111251 困惑:例如我定义了一个接口,但是我在继承这个接口的类中还要写接口的实现方法,那我不如直接就在这个类中写实现方法岂不是更便捷,还省去了定义接口?接口在java中的作用是什么? 总结回答: 接口是一种规范 软件开发大 阅读全文
posted @ 2017-06-26 17:37 战斗的小白 阅读(4300) 评论(0) 推荐(1) 编辑
摘要: 原文链接:http://tutorials.jenkov.com/java-io/index.html Java NIO It contains classes that does much of the same as the Java IO and Java Networking APIs, b 阅读全文
posted @ 2017-06-26 15:50 战斗的小白 阅读(222) 评论(0) 推荐(0) 编辑