网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company‘s chief scientist has just improved the performance of one of the utility classes‘ key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class‘s API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class‘s API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly.What design flaw is most likely the cause of these new bugs?()

A.Inheritance

B.Tight coupling

C.Low cohesion

D.High cohesion

E.Loose coupling

F.Object immutability


参考答案

更多 “ A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company‘s chief scientist has just improved the performance of one of the utility classes‘ key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class‘s API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class‘s API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly.What design flaw is most likely the cause of these new bugs?()A.InheritanceB.Tight couplingC.Low cohesionD.High cohesionE.Loose couplingF.Object immutability ” 相关考题
考题 The factory has turned out more and better bicycles since the new techniques were __. A.adoptedB.adaptedC.adjustedD.assisted

考题 What() you() he’ s the murderer? A. make, thinkB. makes, thinkC. makes, to thinkD. make, thinking

考题 [A] tells [B] means [C] makes [D] has

考题 (8)下列程序在窗体上输入,在立即窗口中输入________。 S1="software" S2="hardware" S3="computer" Print Right(S1,3) Picture1.Print Mid(S2,2,4) Debug.Print Left(S3,2)

考题 package com.company.application;public class MainClass{public static void main(String[]args){}}And Main Class exists in the/apps/com/company/application directory.Assume the CLASSPATH environment variable is set to.”(currentdirectory).Which two java commands entered at the command line will run MainClass()A.java MainClass if run from the/apps directoryB.javacom.company.application.MainClass if run from the/apps directoryC.java-classpath/appscom.company.application.MainClass if run fro many directoryD.java-classpath.MainClass if run fromt he/apps/com/company/application directoryE.java-classpath/apps/com/company/application:.MainClass if run from the/apps directoryF.javacom.company.application.MainClassifrunfromthe/apps/com/company/application directory

考题 packagecom.company.application;publicclassMainClass{publicstaticvoidmain(String[]args){}}AndMainClassexistsinthe/apps/com/company/applicationdirectory.AssumetheCLASSPATHenvironmentvariableissetto.(currentdirectory).WhichtwojavacommandsenteredatthecommandlinewillrunMainClass?()A.javaMainClassifrunfromthe/appsdirectoryB.javacom.company.application.MainClassifrunfromthe/appsdirectoryC.java-classpath/appscom.company.application.MainClassifrunfromanydirectoryD.java-classpath.MainClassifrunfromthe/apps/com/company/applicationdirectoryE.java-classpath/apps/com/company/application:.MainClassifrunfromthe/appsdirectoryF.javacom.company.application.MainClassifrunfromthe/apps/com/company/applicationdirectory

考题 Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment variable is set to . (current directory). Which two java commands entered at the command line will run MainClass?()A.java MainClass if run from the /apps directoryB.java com.company.application.MainClass if run from the /apps directoryC.java -classpath /apps com.company.application.MainClass if run from any directoryD.java -classpath . MainClass if run from the /apps/com/company/application directoryE.java -classpath /apps/com/company/application:. MainClass if run from the /apps directoryF.java com.company.application.MainClass if run from the /apps/com/company/application directory

考题 A crowd gathered to see what had happened.A:collected B:fixed C:divided D:assisted

考题 4、检索式“computer(3W)design”表示:A.可以检索出“design”或“computer”B.computer与 design之间最多可插入3个词C.computer与 design的先后顺序可以颠倒D.computer与 design的先后顺序不可以颠倒

考题 信息交换的范围可以分为应用内部(Intra-Application)、应用之间(Inter-Application)、系统之间(Inter-System)和公司之间(Inter-Company)。XML可以用以进行上述任意类型的信息交换。