자격증/OCJP_ExamC
QUESTION 12
IT grow.
2018. 7. 21. 17:13
반응형
QUESTION 12Given: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.println(y[2][1]);6. }7. }What is the result?A. 2B. 3C. 4D. 6E. 7F. Compilation fails.Solution : E
반응형