Oracle
1Z0-804 · Question #52
1Z0-804 Question #52: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #52. The question stem and answer options stay visible for context.
Question
Given the code fragment: If the file userguide.txt does not exist, what is the result?
Exhibit
Options
- AAn empty file iscreated and success is printed
- Bclass java.io.FileNotFoundException
- Cclass java.io.IOException
- Dclass java.lang.Exception
- ECompilation fails
Unlock 1Z0-804 to see the answer
You've previewed enough free 1Z0-804 questions. Unlock 1Z0-804 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
