入学测试题原版.docVIP

  • 12
  • 0
  • 约7.24千字
  • 约 12页
  • 2016-11-26 发布于河南
  • 举报
入学测试题原版

共50道题,每道题2分,总分100分,60分为合格。 本测试题的目的在于帮助学员检测自己的java基础,因为公司要保证教学质量,光有名师授课是远远不够的,还需要学员们都具备一个基本的java基础,希望参加测试的学员能本着对自己负责的态度,独立完成这套测试题。 单选: 下面程序的输出结果是什么(d ) int[] arr = new int[10]; System.out.println(arr[0]); A.编译不通过 B.运行时出错 C.输出null D.输出0 下列代码运行的结果是(c ) public static void main(String[] args) { int x = 4; int y = 5; if(x++4 ++y5) { x++; } System.out.println(x= + x + ,y= + y); } A. x=4,y=5 B. x=4,y=6 C. x=5,y=6 D. x=6,y=6 尝试运行下面的代码会发生什么?( c) public class Test { public static void main(String[] args) { boolean m = true; if (m = false) { System.out.println(true); } else {

文档评论(0)

1亿VIP精品文档

相关文档