第11題
Given:
1. class Alligator{
2. public static void main(String[] args){
3. int[]x[] = {{1,2},{3,4,5},{6,7,8,9}};
SCJP 6.0 認證教戰手冊 黃彬華著 碁峰出版
6
4. int[][]y = x;
5. System.out.print(y[2][1]);
6. }
7. }
What is the result?
(A) 2
(B) 3
(C) 4
(D) 6
(E) 7
F. Compilation fails.
答案:登入後查看
統計: A(7), B(29), C(19), D(16), E(199) #1157016
統計: A(7), B(29), C(19), D(16), E(199) #1157016