Question: Provide a refactored solution and explain how it adheres to the Open / Closed Principle. consider creating an extensible design that allows for adding new
Provide a refactored solution and explain how it adheres to the OpenClosed Principle. consider creating an extensible design that allows for adding new notification types without changing the existing classes. Encourage them to think about abstraction interfaces, or any other technique that supports the extensibility of the system.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
