多项选择题

A.模板(Template Method)模式
B.迭代器(Iterator)模式
C.命令(Command)模式
D.观察者(Observer)模式