Multiple choice technology architecture

The Command design pattern_____a request in an object.

  1. Separates

  2. Encapsulates

  3. Processes

  4. Decouples

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

Command pattern encapsulates a request by binding a set of actions to a receiver, allowing parameterization and queuing of requests. It separates the requester from the executor but the key is encapsulation of the request itself.