The Strategy design pattern defines a family of _______ algorithms and encapsulates each one, making them interchangeable.

  • dependent
  • interchangeable
  • nested
  • related
The Strategy design pattern defines a family of interchangeable algorithms. It allows a client to choose from a family of algorithms and gives them the flexibility to interchange algorithms without altering the client code.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *