继承 | 实现 | |
class | 一个abstart,class | 多个interface |
abstract | abstarct | interface |
interface | interface |
两个类型中关键字添加
abstract | final | static | |
abstract | √ | √ | √ |
interface | × | × | √ |
继承 | 实现 | |
class | 一个abstart,class | 多个interface |
abstract | abstarct | interface |
interface | interface |
两个类型中关键字添加
abstract | final | static | |
abstract | √ | √ | √ |
interface | × | × | √ |