题目内容

A.该设计模式中的Observer需要维护至少一个Subject对象B.该设计模式中的ConcreteObserver可

A. 该设计模式中的Observer需要维护至少一个Subject对象
B. 该设计模式中的ConcreteObserver可以绕过Subject及其子类的封装
C. 该设计模式中一个Subject对象需要维护多个Observer对象
D. 该设计模式中Subjeet需要通知Observer对象其自身的状态变化

查看答案
更多问题

People are indulging in an illusion whenever they find themselves explaining at a cocktail(鸡尾酒)party,say,that the are“in computers,”or“in telecommunications,”or“in electronic funds transfer”.The implication is that they are part of the high—tech world.Just between US,they usually aren’t.The researchers who made fundamental breakthroughs in those areas are in a high—tech business.The rest of us are (71) of their work.We use computers and other new technology components to develop our products or to organize our affairs.Because we go about this work in teams and projects and other tightly knit working group(紧密联系在一起的工作小组),we are mostly in the human communication business.Our successes stem from good human interactions by all participants in the effort,and our failures stem from poor human interactions.
The main reason we tend to focus on the (72) rather than the human side of the work is not because it’s more (73),but because it’s easier to do.Getting the new disk drive installed is positively trivial compared to figuring out why Horace is in a blue funk(恐惧)or why Susan is dissatisfied with the company after only a few months.Human interactions are complicated and never very crisp(干脆的,干净利落的)and clean in their effects,but they matter more than any other aspect of the work.
If you find yourself concentrating on the (74) rather than the (75) .you’re like the vaudeville character(杂耍人物)who loses his keys on a dark street and looks for them on the adjacent street because,as he explains,“The light is better there!”
(71)

A. creators
B. innovators
C. appliers
D. inventors

A.ABEGHIKB.ABEGHJKC.ACEGHIKD.ACEGHJK

ABEGHIK
B. ABEGHJK
C. ACEGHIK
D. ACEGHJK

A.变量B.常量C.基类对象D.子类对象

A. 变量
B. 常量
C. 基类对象
D. 子类对象

开一闭原则(Open-Closed Principle,OCP)是面向对象的可复用设计的基石。开一闭原则是指一个软件实体应当对.(37)开放,对(38)关闭;里氏代换原则(Liskov Substitution Principle,LSP)是指任何(39)可以出现的地方,(40)一定可以出现。依赖倒转原则(Dependence Inversion Principle,DIP)就是要依赖于(41)而不依赖于(42),或者说要针对接口编程,不要针对实现编程。
(30)

A. 修改
B. 扩展
C. 分析
D. 设计

答案查题题库