可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

55. int []x= {1, 


55. int []x= {1, 2,3,4, 5};  56. int y[] =x;  57. System.out.println(y[2]);  Which is true?() 

  • A Line 57 will print the value 2.
  • B Line 57 will print the value 3.
  • C Compilation will fail because of an error in line 55.
  • D Compilation will fail because of an error in line 56.
参考答案
参考解析:
分类:SCJP程序员认证考试题库