2017年3月12日

trait or abstract class?

摘要: 首先你需要重用才需要考虑这个问题。If the behavior will not be reused, then make it a concrete class. 优先使用特质。一个类扩展多个特质是很方便的,但却只能扩展一个抽象类。 If you still do not know, after 阅读全文

posted @ 2017-03-12 15:10 satyrs 阅读(230) 评论(0) 推荐(0) 编辑

导航