nerdexam
Oracle

1Z0-804 · Question #50

Given the code fragment: Why is there no output when otherMethod is called?

The correct answer is B. Standard error is not mapped to the console. See the full explanation below for the reasoning.

Question

Given the code fragment:

Why is there no output when otherMethod is called?

Exhibit

1Z0-804 question #50 exhibit

Options

  • AAn exception other than IOException is thrown.
  • BStandard error is not mapped to the console.
  • CThere is a compilation error.
  • DThe exception is suppressed.

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    75% (21)
  • C
    14% (4)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice