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.

No Comments