Intermediate
Object-Oriented Programming Concepts
Q48 / 100
What does the "Open/Closed Principle" (the O in SOLID) state?
Correct! Well done.
Incorrect.
The correct answer is A) Software entities should be open for extension but closed for modification
A
Correct Answer
Software entities should be open for extension but closed for modification
Explanation
New behavior should be added by extending existing code (e.g. via subclassing or interfaces) rather than altering tested, working code.
Progress
48/100