Oracle
1Z0-809 · Question #181
1Z0-809 Question #181: Real Exam Question with Answer & Explanation
The correct answer is D. 2413. See the full explanation below for the reasoning.
Question
Given the code fragment:
int n[][] = {{1, 3}, {2, 4}};
for (int i = 0; i<n.length; i--) {
for (int y : n[i]) {
System.out.print(y);
}
}
What is the result?
Options
- A1324
- B3142
- C4231
- D2413
Community Discussion
No community discussion yet for this question.