Question

Which SOLID principle emphasizes that a class should have only one reason to change, promoting single responsibility?

A Open/Closed Principle
B Liskov Substitution Principle
C Dependency Inversion Principle
D Single Responsibility Principle
E Interface Segregation Principle
Practice Next

Relevant for Exams:

Hey! Ask a query