• Home
  • Define a family of algorithms, encapsulate each one, and make them interchangeable.
Question 1:
Define a family of algorithms, encapsulate each one, and make them interchangeable. It lets the algorithm vary independently from clients that use it.
A. Template method
B. Decorator
C. Strategy
D. Visitor

These questions are from this test. Would you like to take a practice test?

Design Patterns Quiz 1 | Englishfreetest.com