Podcast
Questions and Answers
According to the open–closed principle, software entities should be:
According to the open–closed principle, software entities should be:
- Open for extension, closed for modification (correct)
- Open for both extension and modification
- Open for modification, closed for extension
- Closed for both extension and modification
The open–closed principle is one of the five SOLID principles of:
The open–closed principle is one of the five SOLID principles of:
- Object-oriented design (correct)
- Procedural programming
- Database management
- Functional programming
A module will be said to be open if it is still available for:
A module will be said to be open if it is still available for:
- Modification
- Both extension and modification
- Use by other modules
- Extension (correct)
Who is generally credited for having originated the term open–closed principle?
Who is generally credited for having originated the term open–closed principle?
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:
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: