5 Questions
According to the open–closed principle, software entities should be:
Open for extension, closed for modification
The open–closed principle is one of the five SOLID principles of:
Object-oriented design
A module will be said to be open if it is still available for:
Extension
Who is generally credited for having originated the term open–closed principle?
Bertrand Meyer
At the time Meyer was writing, adding fields or functions to a library inevitably required changes to any programs depending on that library, indicating that the library was not:
Closed for modification
Test your understanding of the open-closed principle in object-oriented programming with this quiz. Explore how software entities can be open for extension but closed for modification, and the techniques used to achieve this principle.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free