Command

  1. Explain how the command pattern separates invoking an operation from executing it.
  2. Describe the range of intelligence that a command object may have.
  3. Describe the use of the command pattern for undo and redo features.
  4. Describe the use of the command pattern for implementing a macro command feature.
  5. Indicate what types of state must be maintained in a command object.