程序设计原则(1)开闭原则:软件实体应当对扩展开放,对修改关闭(Software entities should be open for extension,but closed for modification)
(2)里氏替换原则:继承
2022-03-04