
下面的程序输出结果是: ()。public class A extends B {undefinedint k = 20;public static voi
A.i=20
B.程序有编译错误
C.i=10
D.i=true

A.i=20
B.程序有编译错误
C.i=10
D.i=true
第1题
A.8
B.2
C.6
D.4
第2题
分析下面的C#代码,该程序的运行结果是()。classExample{staticvoidMain(stringQ
args){Console.WriteLine("/Looklikeacomment");}}
A.LookslikeA.comment
B./LookslikeA.comment
C.没有输出任何内容
D.编译错误
第3题
A.9
B.不确定值
C.0
D.18
第4题
A.15
B.16
C.15.5
D.15.4
第5题
A. substring(9,13),docurment. write(a):
B.stud
C.tuden
D.uden
E. udent
第6题
A.20
B.20.0
C. NaN
D.155
第7题
A.21
B.19
C.2,4,4,5,6
D.24456
第8题
下面程序的文件名为Lexe,在DOS下输入的命令行参数为:t to meet me<回车> 则程序输出的结果是 #include”stdio.h” main(argc,argv) intargc;char*argv[]; { int i; printf("%d\n",argc);}
A.3
B.4
C.2
D.以上答案都不正确
第9题
A.WriteLine(a[3]);}}
B.1
C.2
D.3
E.4
第10题
A.5
B.3
C.2
D.0
第11题
A.One
B.Two
C.Three
D.Other