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

In Object-Oriented Design, the principle that high-level modules should not depend on low-level modules, but both should depend on abstractions is the:

AInterface Segregation Principle (ISP)
BLiskov Substitution Principle (LSP)
CSingle Responsibility Principle (SRP)
DDependency Inversion Principle (DIP)

Explanation

DIP decouples execution layers by depending on abstract interfaces rather than concrete class implementations.

Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

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