面向對象設計原則之里氏替換原則

里氏替換原則(Liskov Substitution Principle,LSP) If for each object o1 of type S there is an object o2 of type T such that for all programs P defined in terms of T,the behavior of P is unchanged when o1 is s
相關文章
相關標籤/搜索