面向对象的五个设计原则:SOLID

1.    SOLID (1)SRP(The Single Responsibility Principle)单一责任原则 (2)OCP(The Open-Closed Principle)开放-封闭原则 (3)LSP(The Liskov Substitution Principle)Liskov替换原则 (4)ISP (The Interface Segregation Principle)接
相关文章
相关标签/搜索