In Object-Oriented Design, the principle that software entities should be open for extension but closed for modification is the:
ALiskov Substitution Principle (LSP)
BOpen-Closed Principle (OCP)
CDependency Inversion Principle (DIP)
DSingle Responsibility Principle (SRP)
Explanation
OCP encourages designing components whose behavior can be extended via interfaces without changing source code.

No Comments