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
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which of the following statements about object oriented databse is not correct?

A. Each object has a unique object identity in the system.

B.Encapsulation and inheritance are two important features of object oriented databasE.

C.A subclass can inherit the attributes and methods of all its superclasses.

D.A subclass includes the attributes and methods of all its subclasses.


正确答案:D

第2题:

● 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

第3题:

●Which of the following statements about object oriented database is not correct? (72) .

(72) A.Each object has a unique object identify in the system

B.Encapsulation and inheritance are two important features of object oriented database

C.A subclass can inherit the attributes and methods of all its superclasses

D.A supereloss includes the attributes and methods at all subclasses


正确答案:B
【解析】译文:下列关于面向对象数据库的描述中,哪一个是错误的?
B.封装和继承是面向对象数据库的两个重要特征。

第4题:

哪个命令用来设置Cisco设备串行接口的默认封装()

A.Router(config)encapsulation hdlc

B.Router(config)encapsulation default hdlc

C.Router(config-if)encapsulation hdlc

D.Router(config-if)encapsulation ppp


正确答案:C

第5题:

以下四个程序中,完全正确的是()。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前缺少#。

第6题:

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

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

A.#include<stdio.h>

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

C.#include<stdio.h>

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


正确答案:B
解析:选项A中的main()后面不能直接用分号。选项C中的注释符使用不正确,编译器会把从第一个“/*到第一个*/”之间的当作注释,最后一个“*/”会被作为程序代码去编译。选项D中的include前要加上#表示是预定义语句。

第7题:

( )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)是一个对象的属性,使得在多个类中可以定义同一个操作或属性,并在每个类中可以有不同的实现。

第8题:

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

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
(18)B) 解析 : 选项 A)main(); 的分号是错误的 , 不能有分号 ; 选项 C) 的注释语句多了两个 * 号 ; 选项 D)include 前面没有 # 。

第9题:

下列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

第10题:

C++fullysupports(73)programming.

A.visual

B.object-oriented

C.logic

D.natural language


正确答案:B

更多相关问题