2016年12月11日

abstract class and interface

摘要: Interface separates what a Class does and how does it work. List interface lets different type of List to implement its own method. interface has more 阅读全文

posted @ 2016-12-11 09:10 touchdown 阅读(86) 评论(0) 推荐(0) 编辑

final, static

摘要: static class is used to when you don't need to instantiate the class. Like Math class, instantiating it is unnecessary. Final class prevents extension 阅读全文

posted @ 2016-12-11 02:00 touchdown 阅读(139) 评论(0) 推荐(0) 编辑

导航