In Object-Oriented Design, the principle that derived classes must be completely substitutable for their base classes without breaking system behavior is the:
ALiskov Substitution Principle (LSP)
BSingle Responsibility Principle (SRP)
COpen-Closed Principle (OCP)
DInterface Segregation Principle (ISP)
Explanation
LSP mandates that subclasses extend base classes without overriding or altering base behavior expectations.

No Comments