把请求封装成对象,使其可以参数化、排队、记录日志并支持撤销——这是?

设计模式

  1. A.命令模式(Command)
  2. B.单例模式(Singleton)
  3. C.观察者模式(Observer)
  4. D.外观模式(Facade)