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.
Loading...
Related Quiz
- A unique constraint ensures that _______ values are stored in a column.
- You encounter a bug in your codebase. How would you use TDD principles to fix it and prevent similar issues in the future?
- What is the difference between "git merge" and "git rebase"?
- What is a Dockerfile used for in Docker containerization?
- What is a Git branch used for?