网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
The lower-level classes (known as subclasses or derived classes) ( ) state and behavior from the higher-level class (known as a super class or base class).
A.request B.inherit C.invoke D.accept
参考答案
更多 “ The lower-level classes (known as subclasses or derived classes) ( ) state and behavior from the higher-level class (known as a super class or base class).A.request B.inherit C.invoke D.accept ” 相关考题
考题
In looking at the class structure of an entire system, we may find that its inheritance (1) is either wide and shallow, narrow and deep, or balanced. Class structures that are wide and shallow usually represent forests of (2) classes that can be mixed and matched. Class structures that are narrow and deep represent trees of classes that are related by a common ancestor. There are advantages and disadvantages to each approach. Forests of classes are more loosely (3) , but they may not exploit all the commonality that exists. Trees of classes exploit this commonality, so that individual classes are smaller than in forests. However, to understand a particular class, it is usually necessary to understand the meaning of all the classes it inherits from or uses. The proper shape of a class structure is highly problem-dependent. We must make similar trade-offs among inheritance, aggregation, and using relation- ships. For example, should the class Car inherit, contain, or use the classes named Engine and Wheel? In this case, we suggest that an (4) relationship is more appropriate than inheritance relationship. Meyer states that between the class A and B," (5) is appropriate if every instance of B may also be viewed as an instance of A. The client relationship is appropriate when every instance of B simply possesses one or more attributes of A". From another perspective, if the behavior. of an object is more than the sum of its individual parts, then creating an aggregation relationship rather than an inheritance relationship between the appropriate classes is probably superior.A.distinctionB.levelC.gradeD.hierarchy
考题
Which of the listed classes of fire would most likely occur in the engine room of a vessel?A.Classes A and BB.Classes B and CC.Classes C and DD.Classes A and D
考题
Fires of which class would most likely occur in the engine room of a vessel ________.A.Classes A and BB.Classes B and CC.Classes C and DD.Classes A and D
考题
The lower-level classes(known as subclasses or derived classes) ( )state andbehavior from the higher-level class(known as a super class or base class).A.request
B.inherit
C.invoke
D.accept
考题
What are members of the fitness center asked not to do?A.Bring guests who are under eighteen years old
B.Leave classes early
C.Use equipment for which they have not signed up
D.Bring bags to classes
考题
Object-oriented analysis(OOA.is a semiformal specification technique for the object-oriented paradigm.Object-oriented analysis consists of three steps.The first step is( ).It determines how the various results are computed by the product and presents this information in the form of a( )and associated scenarios.The second is( ),which determines the classes and their attributes.Then determine the interrelationships and interaction among the classes.The last step is( ),which determines the actions performed by or to each class or subclass and presents this information in the form of(请作答此空).A.activity diagram
B.component diagram
C.sequence diagram
D.state diagram
考题
public class SomeException { } Class a: public class a { public void doSomething() { } } Class b: public class b extends a { public void doSomething() throws SomeException { } } Which is true about the two classes?() A、 Compilation of both classes will fail.B、 Compilation of both classes will succeed.C、 Compilation of class a will fail. Compilation of class b will succeed.D、 Compilation of class a will fail. Compilation of class a will succeed.
考题
在下面哪个web应用目录中可以放置所需要的class文件?() A、 /WEB-INF/libB、 /META-INF/libC、 /classes 放置已经编译的类文件D、 /WEB-INF/classes
考题
Which two are true?()A、 An encapsulated, public class promotes re-use.B、 Classes that share the same interface are always tightly encapsulated.C、 An encapsulated class allows subclasses to overload methods, but does NOT allow overriding methods.D、 An encapsulated class allows a programmer to change an implementation without affecting outside code.
考题
Which two statements are true of login classes?()A、Users can be members of multiple login classes.B、Login classes define authorization parameters for a user.C、There are five system-defined login classes.D、Login class permission flags can be overridden for certain commands.
考题
Which three practices are important to the implementation of a DiffServ QoS architecture?()A、 Because services are allocated throughout the network before the transmission of data begins, traffic classes can be guaranteed QoS services.B、 Traffic classes are marked with Layer 2 markings to allow for more granularity in identifying traffic classes.C、 Traffic classes are marked with Layer 3 markings to allow them to traverse different network types without loss of QoS information.D、 Traffic classes allow networks to provide proper QoS treatment of packets without applications having to request services.E、 Based upon the network capabilities, QoS markings are placed on packets as needed throughout the network to allow for proper QoS treatment of packets.F、 QoS markings are placed on packets as close to the network edge as possible to allow distribution and core devices to determine QoS actions as quickly as possible.
考题
Which two statements about the QoS policy generation phase of the Cisco SDM QoS wizard are true?()A、the SDM QoS wizard will create two real-time traffic classes to handle VoIP, voice signaling, and video packetsB、the SDM QoS wizard will create three real-time traffic classes to handle VoIP, voice signaling, video, and video packetsC、the SDM QoS wizard will create four real-time traffic classes to handle VoIP, voice signaling, video, and video streaming packetsD、the SDM QoS wizard will create two business-critical traffic classes to handle transactional and network management packetsE、the SDM QoS wizard will create three business-critical traffic classes to handle transactional, network management, and routing packetsF、the SDM QoS wizard will create four business-critical traffic classes to handle transactional, network management, routing, and best-effort packets
考题
In which two web application directories can dependent classes and libraries be located? ()A、 /WEB-INF/lib as a JAR fileB、 /META-INF/lib as a JAR fileC、 /classes as compiled class filesD、 /WEB-INF/lib as compiled class filesE、 /WEB-INF/classes as compiled class filesF、 /META-INF/classes as compiled class files
考题
Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()A、If the compile is successful, Utils.class is added to the source directory.B、The compiler returns an invalid flag error.C、If the compile is successful, Utils.class is added to the classes directory.D、If the compile is successful, Utils.class is added to the bigProject directory.
考题
单选题You’ve already missed too many classes this term. You _____ two classes just last week.A
missedB
would missC
had missedD
have missed
考题
单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement: (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()A
Create a new custom class for the control that is derived from the Control class.B
Create a new custom class for the control that is derived from the UserControl class.C
Create a new custom class for the control that is derived from the ContentControl class.D
Create a new custom class for the control that is derived from the ContentPresenter class.
考题
单选题假设在目录myprj/src/school中有Java源文件Student.java,编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令来执行这个类?()A
cd myprj/src java ../classes school.StudentB
cd myprj/src/school java –cp ../classes school.StudentC
cd myprj/src/school java –cp ../../classes school.StudentD
cd myprj/src java –cd ../classes school.Student
考题
单选题public class SomeException { } Class a: public class a { public void doSomething() { } } Class b: public class b extends a { public void doSomething() throws SomeException { } } Which is true about the two classes?()A
Compilation of both classes will fail.B
Compilation of both classes will succeed.C
Compilation of class a will fail. Compilation of class b will succeed.D
Compilation of class a will fail. Compilation of class a will succeed.
考题
多选题Which two statements about the QoS policy generation phase of the Cisco SDM QoS wizard are true? ()AThe SDM QoS wizard will create two real-time traffic classes to handle VoIP and voice signaling packets.BThe SDM QoS wizard will create three real-time traffic classes to handle VoIP, voice signaling, and video packets.CThe SDM QoS wizard will create four real-time traffic classes to handle VoIP, voice signaling, video, and video streaming packets.DThe SDM QoS wizard will create two business-critical traffic classes to handle transactional and network management packets.EThe SDM QoS wizard will create three business-critical traffic classes to handle transactional, network management, and routing packets.FThe SDM QoS wizard will create four business-critical traffic classes to handle transactional, network management, routing, and best-effort packets.
考题
多选题In which two web application directories can dependent classes and libraries be located? ()A/WEB-INF/lib as a JAR fileB/META-INF/lib as a JAR fileC/classes as compiled class filesD/WEB-INF/lib as compiled class filesE/WEB-INF/classes as compiled class filesF/META-INF/classes as compiled class files
考题
单选题假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()A
cd myprj/src javac –d ../classes school/Student.javaB
cd myprj/src javac ../classes school/*.javaC
cd myprj javac –d ../classes school/*.javaD
cd myprj/src/school javac –d ../classes school/Student.java
考题
多选题Which two statements are true of login classes?()AUsers can be members of multiple login classes.BLogin classes define authorization parameters for a user.CThere are five system-defined login classes.DLogin class permission flags can be overridden for certain commands.
热门标签
最新试卷