QUESTION 12자격증/OCJP_ExamC2018. 7. 21. 17:13
Table of Contents
반응형
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
반응형
'자격증 > OCJP_ExamC' 카테고리의 다른 글
QUESTION 14 (0) | 2018.07.21 |
---|---|
QUESTION 13 (0) | 2018.07.21 |
QUESTION 11 (0) | 2018.07.21 |
QUESTION 10 (0) | 2018.07.21 |
QUESTION 9 (0) | 2018.07.21 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상