面向對象設計原則--里氏替換原則(LSP)和依賴倒置原則(DIP)

面向對象設計原則–里氏替換原則(LSP)和依賴倒置原則(DIP) tags:設計模式web LSP–inheritance should ensure that any property proved about supertype objects also hold for subtype objects.編程 DIP–the principle states: A. High-lever mo
相關文章
相關標籤/搜索