Implementation Inheritance 的目的是code reuse,. 在父類別裡寫好的方法,子類別繼承 ... 像這樣的例子,就違反了Liskov Substitution Principle.
確定! 回上一頁