nerdexam
Oracle

1Z0-809 · Question #181

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?

The correct answer is D. 2413. You've hit your session limit · resets 10:20pm (America/New_York)

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

How the community answered

(50 responses)
  • A
    8% (4)
  • B
    2% (1)
  • C
    14% (7)
  • D
    76% (38)

Explanation

You've hit your session limit · resets 10:20pm (America/New_York)

Community Discussion

No community discussion yet for this question.

Full 1Z0-809 Practice