多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题