- 讲师:刘萍萍 / 谢楠
- 课时:160h
- 价格 4580 元
特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关
配套通关班送国网在线题库一套
百度广告
Question: 14
A. char args
B. char args
C. String arg
D. String args
Explanation:
Correct Answer: C 14 of 60
Question: 15
A. float f = new float;
B. float f = new float;
C. float f = new float;
D. float f = new float;
E. float f = new float;
Explanation:
Correct Answer: A,B,D,E 15 of 60
Question: 16
Which result of the following expressions equals to the number of the array elements?
B. m.length
C. m.length()+1
D. m.length+1
Explanation:
Correct Answer: B 16 of 60
Question: 17
Which statements are true?
B. args[0] = MyTest
C. args[0] = a
D. args[1]= 'b'
Explanation:
Correct Answer: C 17 of 60
Question: 18
public class Test{
long a = new long[10];
public static void main ( String arg ) {
System.out.println ( a );
}
}
Which statement is true?
B. Output is 0.
C. When compile, some error will occur.
D. When running, some error will occur.
Explanation:
Correct Answer: B 18 of 60 |||
uestion: 19
boolean m = true;
if ( m = false )
System.out.println(False);
else
System.out.println(True);
What is the result of the execution?
B. True
C. None
D. An error will occur when running.
Explanation:
Correct Answer: A 19 of 60
Question: 20
public class Test{
public static void main(String arg){
int i = 5;
do {
System.out.println(i);
} while (--i>5)
System.out.println("finished");
}
}
What will be output after execution?
B. 4
C. 6
D. Finished
E. None
Explanation:
Correct Answer: A,D 20 of 60
责编:罗莉
上一篇:Java认证模考试题(二)
下一篇:Java认证模考试题(四
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
点击加载更多评论>>