What is the purpose of the Command pattern?

  • To allow objects to be treated as commands that can be executed, deferred or queued
  • To create complex objects step by step, using a builder object to abstract the process of creating the object
  • To provide a common interface for a group of related classes
  • To provide a simplified interface to a complex system, hiding the complexity of the system behind a single interface
The Command pattern allows objects to be treated as commands that can be executed, deferred or queued
Add your answer
Loading...

Leave a comment

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