单项选择题
下面表达式中,用来访问数组中第一个值的就是()。
A.intArray[1]
B.intArray.1
C.intArray[0]
D.intArray.0
点击查看答案&解析
相关考题
-
单项选择题
选出在Java中有效的注释声明:()
A./*/This is a comment
B.*/This is a comment
C./This is a comment
D./*This is a comment*/ -
单项选择题
下列String类()方法返回指定字符串的一部分。
A.extractstring()
B.substring()
C.Substring()
D.Middlestring() -
单项选择题
下面哪条语句不能定义一个float型的变量?()
A.float f1=-343;
B.float f2=3.14;
C.float f3=0x12345;
D.float f4=2.8F;
