niusouti.com

( ) is an important concept since it allows reuse of a class definition without requiring major code changes.A. InheritanceB. PolymorphismC. EncapsulationD. Data hiding

题目

( ) is an important concept since it allows reuse of a class definition without requiring major code changes.

A. InheritanceB. PolymorphismC. EncapsulationD. Data hiding


相似考题
参考答案和解析
正确答案:A
更多“( ) is an important concept since it allows reuse of a class definition without requiring ”相关问题
  • 第1题:

    How could you rearrange all the important things without your ___________ (concentrate)?


    参考答案:concertration

  • 第2题:

    The purpose of the requirements definition phase is to produce a clear, complete, consistent, and testable(71 )of the technical requirements for the software product.During the requirements definition phase, the requirements definition team uses an iterative process to expand a broad statement of the system requirements into a complete and detailed specification of each function that the sofrware must perform. and each(72)that it must meet. The starting point is usually a set of high-level requirements from the(73)that describe the project or problem.In either case, the requirements definition team formulates an overall concept for the system and then defines(74)showing how the system will be operated, publishes the system and operations concept document, and conducts a system concept review(SCR).Following the SCR, the team derives(75)requirements for the system from the high level requirements and the system and operations concept. Using structured or object-oriented analysis, the team specifies the software functions and algorithms needed to satisfy each detailed requirement.

    A.function

    B.definition

    C.specification

    D.statement


    正确答案:C
    解析:需求定义阶段的作用就是为软件产品产生一个清晰的、完整的、一致的、可测试的技术需求规格说明。在需求定义阶段,需求定义团队通过迭代过程把有关节系统需求的宽泛的陈述扩展成系列化统必须实现的各个功能的、完整而详细的规格说明,以及系列化统应该满足的各种准则。这个过程的起点通常是由用户提供的描述项目或问题的一组高级需求。在任何情况下,需求定义团队应该阐明与系统有关的整体概念,并且设定一种能够显示系统如何运作的情景,发布有关系统和运行的概念文档,并进行系统概念的评审(SCR)。在SCR之后,团队应该根据高级需求和系统运行概念导出详细的系统需求。通过结构化的或面向对象的分析技术,团队可以规范系统功能,说明满足每一细节需求的算法。

  • 第3题:

    The project life-cycle can be described as().

    A.project concept, project planning, project execution, and project close-out
    B.project planning, work authorization, and project reporting
    C.project planning, project control, project definition, WBS development, and project termination
    D.project concept, project execution, and project reporting

    答案:A
    解析:
    关于项目周期划分正确的是(72)。

    A. 启动、计划、执行、收尾

    B. 计划、授权、报告

    C. 计划、控制、方案设计、WBS的发展、终止

    D. 启动、执行、报告

  • 第4题:

    What benefit results from implementation of Layer 3 switching versus Layer 2 switching in a fully meshed campus network?()

    • A、ease of IP address assignment versus use of external routers
    • B、redundancy from trunking between distribution layer switches
    • C、provides first-hop redundancy to clients
    • D、allows inter-VLAN communication without requiring complexity of routing protocols

    正确答案:C

  • 第5题:

    Given the following interface definition, which definitions are valid?()   interface I {   void setValue(int val);   int getValue();   }    DEFINITION a:   (a) class a extends I {  int value;   void setValue(int val) { value = val;  }   int getValue() {  return value;  }   }   DEFINITION b:   (b) interface b extends I {   void increment();   }   DEFINITION c:   (c) abstract class c implements I {   int getValue() {  return 0;  }  abstract void increment();   }   DEFINITION d:   (d) interface d implements I {  void increment();  }   DEFINITION e:   (e) class e implements I {  int value;   public void setValue(int val) { value = val; }  }  

    • A、Definition a.
    • B、Definition b.
    • C、Definition c.
    • D、Definition d.
    • E、Definition e.

    正确答案:B,C

  • 第6题:

    Which statements about inheritance are true?()         

    • A、 In Java programming language only allows single inheritance.
    • B、 In Java programming language allows a class to implement only one interface.
    • C、 In Java programming language a class cannot extend a class and implement a interface together.
    • D、 In Java programming language single inheritance makes code more reliable.

    正确答案:A,D

  • 第7题:

    You completed your workflow definition. You want to save a copy of the definition to the file system for source control purposes. How does Oracle Workflow Builder save that file?()

    • A、as a flat file
    • B、as a BPEL-compiled definition
    • C、as an XML file with an associated document type definition (DTD)
    • D、as an XML file without an associated document type definition (DTD)

    正确答案:A

  • 第8题:

    多选题
    Which two are characteristics of the Intercepting Filter pattern?()
    A

    it provides centralized request handling for incoming requests.

    B

    It forces resource authentication to be distributed across web components.

    C

    It reduces coupling between presentation-tier clients and underlying business services.

    D

    It can be added and removed unobtrusively, without requiring changes to existing  code.

    E

    It allows preprocessing and postprocessing on the incoming requests and outgoing  responses.


    正确答案: C,A
    解析: 暂无解析

  • 第9题:

    多选题
    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.


    正确答案: A,D
    解析: 暂无解析

  • 第10题:

    单选题
    Which substitution variable would you use if you want to reuse the variable without prompting the user each time?()
    A

    &

    B

    ACCEPT

    C

    PROMPT

    D

    &&


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    Which DHCP allocation method allows automatic reuse of an address that is no longer needed by the lient to which it was assigned?()
    A

    Automatic

    B

    Dynamic

    C

    Reuse

    D

    Manual


    正确答案: A
    解析: 暂无解析

  • 第12题:

    多选题
    Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo() method, which two statements are true?()
    A

    The class implements java.lang.Comparable.

    B

    The class implements java.util.Comparator.

    C

    The interface used to implement sorting allows this class to define only one sort sequence.

    D

    The interface used to implement sorting allows this class to define many different sort sequences.


    正确答案: C,A
    解析: 暂无解析

  • 第13题:

    Which substitution variable would you use if you want to reuse the variable without prompting the user each time? ()

    A. &

    B. ACCEPT

    C. PROMPT

    D. &&


    参考答案:D

  • 第14题:

    根据下面的文字资料回答 71~75 题 The purpose of the requirements definition phase is to produce a clear,complete,consistent,and testable( 1 )of the technical requirements for the software produet.

    During the requirements definition phase,the requirements deftnifion team uses an iterative process to expand a broad statement of the system requirements into a complete and detailed specificationof each function that the software must perform. and each( 2 )that it must meet.The starting point is usually a set of high-level requirements from the( 3 )that describe the project or problem.

    In either case,the requirements definition team formulates an overall concept for the system and thedefines( 4 )showing how the system will be oPerated,publishes the system and operation concept documents,and conducts a system concept review(SCR).

    Following the SCR,the team derives( 5 )requirements for the system from the highlevel requirements and the systern operations concept.Using structured or object-oriented analysis,the team specifies the software functions and algorithms needed to satisfy each detailedrequirements.

    第71题:文中( 1 )处正确的答案是( )。

    A.function

    B.definition

    C.specification

    D.statement


    正确答案:C
    需求定义阶段的作用就是为软件产品产生一个清晰的、完整的、一致的、可测试的技术需求规格说明。
    在需求定义阶段,需求定义团队通过迭代过程把有关系统需求的宽泛的陈述扩展成系统必须实现的各个功能的、完整而详细的规格说明,以及系统应该满足的各种准则。这个过程的起点通常是由用户提供的描述项目或问题的一组高级需求。
    在任何情况下,需求定义团队应该阐明与系统有关的整体概念,并且设定一种能够显示系统如何运作的情景,发布有关系统和运行的概念文件,并进行系统概念的评审(SCR)。
    在SCR之后,团队应该根据高级需求和系统运行概念导出详细的系统需求。通过结构化的或面向对象的分析技术,团队可以规范系统功能,说明满足每一细节需求的算法。

  • 第15题:

    ( ) is an important concept since it allows reuse of a class definition without requiring major code changes.

    A.Inheritance
    B.Polymorphism
    C.Encapsulation
    D.DatA.hiding

    答案:A
    解析:
    继承是一个重要的概念,因为它使得无需对代码做大的改变就能重用类定义。

  • 第16题:

    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.

    正确答案:A,D

  • 第17题:

    Which two are characteristics of the Intercepting Filter pattern?()

    • A、 it provides centralized request handling for incoming requests.
    • B、 It forces resource authentication to be distributed across web components.
    • C、 It reduces coupling between presentation-tier clients and underlying business services.
    • D、 It can be added and removed unobtrusively, without requiring changes to existing  code.
    • E、 It allows preprocessing and postprocessing on the incoming requests and outgoing  responses.

    正确答案:D,E

  • 第18题:

    Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo() method, which two statements are true?()

    • A、The class implements java.lang.Comparable.
    • B、The class implements java.util.Comparator.
    • C、The interface used to implement sorting allows this class to define only one sort sequence.
    • D、The interface used to implement sorting allows this class to define many different sort sequences.

    正确答案:A,C

  • 第19题:

    Which substitution variable would you use if you want to reuse the variable without prompting the user each time?()

    • A、&
    • B、ACCEPT
    • C、PROMPT
    • D、&&

    正确答案:D

  • 第20题:

    多选题
    Given the following interface definition, which definitions are valid?()   interface I {   void setValue(int val);   int getValue();   }    DEFINITION a:   (a) class a extends I {  int value;   void setValue(int val) { value = val;  }   int getValue() {  return value;  }   }   DEFINITION b:   (b) interface b extends I {   void increment();   }   DEFINITION c:   (c) abstract class c implements I {   int getValue() {  return 0;  }  abstract void increment();   }   DEFINITION d:   (d) interface d implements I {  void increment();  }   DEFINITION e:   (e) class e implements I {  int value;   public void setValue(int val) { value = val; }  }
    A

    Definition a.

    B

    Definition b.

    C

    Definition c.

    D

    Definition d.

    E

    Definition e.


    正确答案: A,B
    解析: 暂无解析

  • 第21题:

    单选题
    You completed your workflow definition. You want to save a copy of the definition to the file system for source control purposes. How does Oracle Workflow Builder save that file?()
    A

    as a flat file

    B

    as a BPEL-compiled definition

    C

    as an XML file with an associated document type definition (DTD)

    D

    as an XML file without an associated document type definition (DTD)


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    Which statement correctly describes the function of Oracle9i Cache Fusion feature?()
    A

    It provides each session with its own view of the database at a different point in the past. 

    B

    It enables you to execute scalable applications on a clustered database without having to partition the users or the database tables. 

    C

    It lets you dynamically reassign memory in your database buffer cache to different block buffer sizes. 

    D

    It allows you to add new sites to multimaster replication environment without quiescing the master definition site.


    正确答案: B
    解析: 暂无解析

  • 第23题:

    多选题
    Which statements about inheritance are true?()
    A

    In Java programming language only allows single inheritance.

    B

    In Java programming language allows a class to implement only one interface.

    C

    In Java programming language a class cannot extend a class and implement a interface together.

    D

    In Java programming language single inheritance makes code more reliable.


    正确答案: D,C
    解析: 在java中一个类只能有一个直接父类,但是可以实现多个接口,在继承的同时可以实现接口,之所以取消多继承的原因是多继承使得代码产生很多问题,而使用单一继承则可以使代码更可靠。