Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

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.

Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *