Oracle
1Z0-804 · Question #61
1Z0-804 Question #61: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.
Question
Given the following code fragment: 10. p1 = paths.get("report.txt"); 11. p2 = paths.get("company"); 12. / / insert code here Which code fragment, when inserted independently at line 12, move the report.txt file to the company directory,at the same level, replacing the file if it already exists?
Options
- AFiles.move(p1, p2, StandardCopyOption.
- BFiles.move(p1, p2, StandardCopyOption.
- CFiles.move(p1, p2, StandardCopyOption.
- DFiles.move(p1, p2, StandardCopyOption.
- EFiles.move (p1, p2, StandardCopyOption.
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.