nerdexam
Oracle

1Z0-815 · Question #18

Given the code fragment: What is the output?

The correct answer is A. The compilation fails. See the full explanation below for the reasoning.

Question

Given the code fragment:

What is the output?

Exhibit

1Z0-815 question #18 exhibit

Options

  • AThe compilation fails.
  • B[-1, -2, -3]
  • C[-3, -2, -1]
  • DA runtime exception is thrown.

How the community answered

(56 responses)
  • A
    73% (41)
  • B
    4% (2)
  • C
    7% (4)
  • D
    16% (9)

Community Discussion

No community discussion yet for this question.

Full 1Z0-815 Practice