填空题

在面向对象方法,类之间共享属性和方法的机制称为______。

【参考答案】

继承
<上一题 目录 下一题>
热门 试题

填空题
软件是程序、数据和______的集合。
单项选择题
若输入“abcdef”“abdef”,下述程序的输出结果为( )。 # include<stdio.h> # include<string.h> main() int n; char s1[20] ,s2[20],*p1,*p2; scanf( %s ,s1); scanf( %s ,s2); p1=s1; p2=s2; n=strcmp(p1,p2); printf(”%d n ,n);
A.-1
B.0
C."abcdef"
D."abdef"
相关试题
  • x*x+1
  • x
  • 在使用putchar和getchar函数处理字符时,必...
  • 下列程序的运行结果是______。 # ...
  • 有以下程序,若运时从键盘输入:18 ,1...