单选题C++fullysupports()programming,includingthefourproperties:encapsulation,datahiding,inheritance,andpolymorphism.A computer-orientedB procedure-orientedC object-orientedD aspect-oriented

题目
单选题
C++fullysupports()programming,includingthefourproperties:encapsulation,datahiding,inheritance,andpolymorphism.
A

computer-oriented

B

procedure-oriented

C

object-oriented

D

aspect-oriented


相似考题
参考答案和解析
正确答案: A
解析: C++主要支持面向对象编程,包括封装、数据隐藏、继承和多态性四个属性。
更多“单选题C++fullysupports()programming,includingthefourproperties:encapsulation,datahiding,inheritance,andpolymorphism.A computer-orientedB procedure-orientedC object-orientedD aspect-oriented”相关问题
  • 第1题:

    ● C++ fully supports (72) programming, including the four properties: encapsulation, data hiding, inheritance, and polymorphism.

    (72)

    A. computer-oriented

    B. procedure-oriented

    C. object-oriented

    D. aspect-oriented


    正确答案:C

  • 第2题:

    以下四个程序中,完全正确的是()。A.include main( ); { /* programmlng* / printf( "p

    以下四个程序中,完全正确的是( )。

    A.#include <stdio.h> main( ); { /* programmlng* / printf( "programming! \n" ); }

    B.#include <stdio.h> main( ) { /*/programming printf("programming! \n"); }

    C.#include <stdio.h> main( ) { /*programming* / printf( "programming! \n" ); }

    D.include <stdio.h> main ( ) { /*/* programming*/*/ printf( "programming! \n" ); }


    正确答案:C
    解析:选项A)main();后面不应该有分号;选项B)中的注释语句不正确;选项D)的include前缺少#。

  • 第3题:

    C++fullysupports(73)programming.

    A.visual

    B.object-oriented

    C.logic

    D.natural language


    正确答案:B

  • 第4题:

    以下4个程序中,完全正确的是

    A.#include <stdio.h> main(); {/*programming*/ printf("programming!\n");}

    B.#include <stdio.h> main(); {/*/ programming /*/ printf("programming!\n");}

    C.#include <stdio.h> main() {/*/*programming*/*/ printf("programming!\n");}

    D.include <stdio.h> main() {/*programming*/ printf("programming!\n");}


    正确答案:B
    解析:选项A)main();的分号是错误的,不能有分号;选项C)的注释语句多了两个*号;选项D)include前面没有#。

  • 第5题:

    C++ fully supports ______ programming,including the four properties: encapsulation, data hiding, inheritance, and polymorphism.

    A.computer-oriented

    B.procedure-oriented

    C.object-oriented

    D.aspect-oriented

    A.

    B.

    C.

    D.


    正确答案:C

  • 第6题:

    C++fully supports( )programming,including the four properties:encapsulation,data hiding,inheritance,and polymorphism.

    A.computer-oriented
    B.procedure-oriented
    C.object-oriented
    D.aspect-oriented

    答案:C
    解析:
    C++完全支持面向对象程序设计,包括以下4种属性:封装,数据隐藏,继承,多态。

  • 第7题:

    C++ fully supports( )programming, including the four properties: encapsulation, data hiding, inheritance, and polymorphism.

    A. computer-oriented
    B. procedure-oriented
    C. object-oriented
    D. aspect-oriented

    答案:C
    解析:
    C++完全支持面向对象程序设计,包括以下4种属性:封装,数据隐藏,继承,多态。

  • 第8题:

    Cisco路由器串口默认是HDLC封装帧,使用()命令。

    • A、encapsulation ppp
    • B、encapsulation hdlc
    • C、encapsulation dot
    • D、encapsulation pap

    正确答案:B

  • 第9题:

    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

  • 第10题:

    单选题
    Which of the following Frame-Relay encapsulation commands would you use, if you had to connect your Cisco router to a non-Cisco router?()
    A

    TestKRouter(config-if)# Encapsulation frame-relay dot1q

    B

    TestKRouter(config-if)# Encapsulation frame-relay aal5snap

    C

    TestKRouter(config-if)# Encapsulation frame-relay ietf

    D

    TestKRouter(config-if)# Encapsulation frame-relay isl

    E

    None of the above


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

  • 第11题:

    单选题
    以下四个程序中,完全正确的是(  )。
    A



    #include <stdio.h>
    main()
    {
     /*/programming/*/
     printf(programming!);
    }

    B



    #include <stdio.h>
    main()
    {
     /*programming*/
     printf(programming!);
    }

    C



    #include <stdio.h>
    main()
    {
     /*/*programming*/*/
     printf(programming!);
    }

    D



    include <stdio.h>
    main()
    {
     /*programming*/
     printf(programming!);
    }


    正确答案: A
    解析:
    A项中,“main()”函数后面不能加分号;C语言中注释语句的注释方法是:/*注释内容*/或//注释一行,且“/*”和“*/”不能嵌套使用,C项错误;D选项中预编译命令“include <stdio.h>”前缺少“#”号。答案选择B选项。

  • 第12题:

    多选题
    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,C
    解析: 在java中一个类只能有一个直接父类,但是可以实现多个接口,在继承的同时可以实现接口,之所以取消多继承的原因是多继承使得代码产生很多问题,而使用单一继承则可以使代码更可靠。

  • 第13题:

    ( )iS a property of object—oriented software by which an abstract operation ma)’be performed in different ways in different classes. A.Method B.Polymorphism C.Inheritance D.Encapsulation


    正确答案:B
    多态性(Polymorphism)是一个对象的属性,使得在多个类中可以定义同一个操作或属性,并在每个类中可以有不同的实现。

  • 第14题:

    下列4个程序中,完全正确的是()。A.include main(); (/*programming*/ printf("programm

    下列4个程序中,完全正确的是( )。

    A.#include<stdio.h> main(); (/*programming*/ printf("programming!\n");}

    B.# include<stdio.h> main() {/*/programming/*/ printf("programming!\n");}

    C.#include<stdio.h> main() {/*/programming*/*/ printf("programming!\n");)

    D.include<stdio.h> main() {/*programming*/ printf("programming!\n");}


    正确答案:B

  • 第15题:

    若定义cin>str; 当输入 Object Windows Programming ! 所得的结果是str()

    A.Object Windows Programming!

    B.Object

    C.Object Windows

    D.Object Windows Programming


    正确答案:B

  • 第16题:

    以下4个程序中,完全正确的是A.include main(); {/*programming*/ printf("programming

    以下4个程序中,完全正确的是

    A.#include<stdio.h> main(); {/*programming*/ printf("programming!\n");}

    B.#include<stdio.h> main() {/*/programming/*/ printf("programming!\n");}

    C.#include<stdio.h> main() {/*/*programming*/*/ printf("programming!\n")}

    D.include<stdio.h> main() {/*programming*/ printf("programming!\n");}


    正确答案:B
    解析: 选项A)main();的分号是错误的,不能有分号;选项C)的注释语句多了两个*号;选项D)include前面没有#。

  • 第17题:

    C++ fully supports ( ) programming,including the four properties:encapsulation,data hiding,inheritance,and polymorphism.

    A .computer-oriented
    B .procedure-oriented
    C. object-oriented
    D .aspect-oriented

    答案:C
    解析:
    C++完全支持面向对象程序设计,包括以下4种属性:封装性、数据隐藏、继承性和多态性。

  • 第18题:

    ( ) is a property of object-oriented software by which an abstract operation may be performed in different ways in different classes.

    A.MethoD.
    B.Polymorphism
    C.Inheritance
    D.Encapsulation

    答案:B
    解析:
    多态是面向对象的特征之一,它提供了一个抽象操作,在不同的类中能够执行不同的方法。A.方法 B.多态 C.继承 D.封装

  • 第19题:

    C++fullysupports()programming,includingthefourproperties:encapsulation,datahiding,inheritance,andpolymorphism.

    • A、computer-oriented
    • B、procedure-oriented
    • C、object-oriented
    • D、aspect-oriented

    正确答案:C

  • 第20题:

    If a parent organization has been assigned a particular approval type, then which task would need to be performed to enable that approval type for a child organization?()

    • A、Enable approval inheritance for the child organization
    • B、Enable approval inheritance for the parent organization
    • C、Enable that approval type for the child organization
    • D、Nothing, the inheritance is automatic

    正确答案:C

  • 第21题:

    单选题
    C++fullysupports()programming,includingthefourproperties:encapsulation,datahiding,inheritance,andpolymorphism.
    A

    computer-oriented

    B

    procedure-oriented

    C

    object-oriented

    D

    aspect-oriented


    正确答案: C
    解析: C++主要支持面向对象编程,包括封装、数据隐藏、继承和多态性四个属性。

  • 第22题:

    单选题
    You are bringing up a new Cisco Catalyst switch, and wish to connect it via a trunk to another switch from a different vendor, which uses the IEEE standard for the trunking method. When setting the encapsulation type on the trunk, what should you configure on the Cisco switch?()
    A

    Switch(config)# switchport trunk encapsulation isl

    B

    Switch(config)# switchport trunk encapsulation ietf

    C

    Switch(config-if)# switchport trunk encapsulation isl

    D

    Switch(config-if)# switchport trunk encapsulation ietf

    E

    Switch(config-if)# switchport trunk encapsulation dot1q


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

  • 第23题:

    单选题
    Which encapsulation type is a Frame Relay encapsulation type that is supported by Cisco routers?()
    A

    IETF

    B

    HDLC

    C

    Q9333-A Annex A

    D

    ANSI Annex D


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

  • 第24题:

    单选题
    If a parent organization has been assigned a particular approval type, then which task would need to be performed to enable that approval type for a child organization?()
    A

    Enable approval inheritance for the child organization

    B

    Enable approval inheritance for the parent organization

    C

    Enable that approval type for the child organization

    D

    Nothing, the inheritance is automatic


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