1Z1-816 試験問題を無料オンラインアクセス
| 試験コード: | 1Z1-816 |
| 試験名称: | Java SE 11 Programmer II |
| 認定資格: | Oracle |
| 無料問題数: | 80 |
| 更新日: | 2026-09-01 |
Given the code fragment:
Path currentFile = Paths.get("/scratch/exam/temp.txt");
Path outputFile = Paths get("/scratch/exam/new.txt");
Path directory = Paths.get("/scratch/");
Files.copy(currentFile, outputFile);
Files.copy(outputFile, directory);
Files.delete (outputFile);
The /scratch/exam/temp.txt file exists. The /scratch/exam/new.txt and /scratch/new.txt files do not exist.
What is the result?



