Trivial_1_abstract class and interface
abstract class
cannot construct by itselfabstract method to force the children to implement it.new class can only extend once.more reasonable to say BMB extends Car()
interface
原创
2016-11-29 12:05:13 ·
138 阅读 ·
0 评论