Q. Define a family of algorithms, encapsulate each one, and make them interchangeable. It lets the algorithm vary independently from clients that use it. (Solved)
1. template method
2. decorator
3. strategy
4. visitor
- c. strategy
1. template method
2. decorator
3. strategy
4. visitor