摘要: encapsulation,inheritance,polymorphism inheritance: 在构造函数中,this和super不能同时调用其他的构造函数,this和super在调用构造函数的时候都必须位于第一行,因此他们不能同时使用 重写:必须存在继承,当父类方法不能满足子类方法的实现时 阅读全文
posted @ 2019-08-26 18:42 26417 阅读(107) 评论(0) 推荐(0)