Closed-Open Principle
A class should be open for extension but should be closed for modification. This prevents breaking current existing functionality and too much change in the code.
Search
A class should be open for extension but should be closed for modification. This prevents breaking current existing functionality and too much change in the code.