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
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)- A7% (2)
- B75% (21)
- C14% (4)
- D4% (1)
Community Discussion
No community discussion yet for this question.
