"SCJP 1.6版考題 011" 修訂間的差異
出自 陳富國維基館
(新頁面: 1. class Alligator{ 2. public static void main(String[] args){ 3. int[]x[] = {{1,2},{3,4,5},{6,7,8,9}}; 4. int[][]y = x; 5. System.out.print(y[2][1]); 6. } 7. } ...) |
(無差異)
|
於 2013年3月30日 (六) 08:53 的最新修訂
1. class Alligator{
2. public static void main(String[] args){
3. int[]x[] = {{1,2},{3,4,5},{6,7,8,9}};
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.
| ||||||||||||||||||||
