Multiple choice technology architecture

Define a family of algorithms, encapsulate each one, and make them interchangeable. Lets the algorithm vary independently

  1. Strategy

  2. Memento

  3. Mediator

  4. State

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The Strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable, letting the algorithm vary independently from clients that use it. Memento captures and restores internal state, Mediator defines how objects interact, and State allows behavior change with internal state.