Oracle
1Z0-804 · Question #62
1Z0-804 Question #62: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #62. The question stem and answer options stay visible for context.
Question
Given the code fragment: What is the result when the result.txt file already exists in c:\student?
Exhibit
Options
- AThe program replaces the file contents and the file's attributes and prints Equal.
- BThe program replaces the file contents as well as the file attributes and prints Not equal.
- CAn UnsupportedOperationException is thrown at runtime.
- DThe program replaces only the file attributes and prints Not equal.
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.
