InterviewSolution
| 1. |
What Is The Open Closed Design Principle? |
|
Answer» Open closed is another principle from SOLID, which asserts that a SYSTEM should be open for EXTENSION but close for MODIFICATION. Which means if a NEW functionality is required in a stable system then your tried and tested code should not be touched and new functionality should be provided by adding new classes only. Open closed is another principle from SOLID, which asserts that a system should be open for extension but close for modification. Which means if a new functionality is required in a stable system then your tried and tested code should not be touched and new functionality should be provided by adding new classes only. |
|