Which principle in software engineering states that software entities should be open for extension but closed for modification?
-
A
Open-Closed Principle
Correct answer
-
B
Single Responsibility Principle
-
C
Liskov Substitution Principle
-
D
Interface Segregation Principle
Correct answer
A. Open-Closed Principle
18 views
Explanation
The Open-Closed Principle is the second principle of SOLID design principles.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ