题目内容

关于模式适用性,以下哪种情况不适合使用责任链模式?()

A. 有多个对象可以处理一个请求,哪个对象处理该请求运行时刻自动确定
B. 在需要用比较通用和复杂的对象指针代替简单的指针的时候
C. 想在不明确指定接收者的情况下,向多个对象中的一个提交一个请求
D. 可处理一个请求的对象集合应被动态指定

查看答案
更多问题

程序希望动态指定可处理用户请求的对象集合。这时可以使用()设计模式。

A. Strategy
B. AbstractFactory
C. Decorator
D. ChainofResponsibility

在责任链模式中,客户类只需要关心链的源头,而无须关心请求的处理细节以及请求的传递过程.

A. 对
B. 错

Fill in the blanks with the expressions given below.Change the form where necessary. Each expression can be used only once.head fordivert...tolag behindput...in charge ofhave an impact onsingle... outincorporate ...intotake a(n)...approach to1.Women's attainment in career still ____that of men, even in developed countries where women have been participating in the workforce for decades.

Talented and diligent, Robert Hume was ______ managing the entire company's accounts when he was only 25.

答案查题题库