单项选择题
观察者(Observer)模式适用于( )。
A.访问一个聚合对象的内容而无须暴露它的内部表示*
B.减少多个对象或类之间的通信复杂性
C.将对象的状态恢复到先前的状态
D.一对多对象依赖关系,当一个对象修改后,依赖它的对象都自动得到通知
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
A.创建型对象模式B.结构型对象模式C.行为型对象模式D.行为型类模式
A.创建型对象模式
B.结构型对象模式
C.行为型对象模式
D.行为型类模式
点击查看答案&解析
单项选择题
A.责任链(Chain of Responsibility)B.解释器(Interpreter)C.命令(Command)D.迭代器(Iterator)
A.责任链(Chain of Responsibility)
B.解释器(Interpreter)
C.命令(Command)
D.迭代器(Iterator)
点击查看答案&解析
相关试题
A.a singleB.a particularC.someD.al...
A.deadlineB.specificationC.expectatio...
A.perfectB.acceptableC.controlledD.c...
A.specificationsB.rulesC.estimatesD....
A.taskB.workC.sequenceD.activity