1Z0-809 practice question 5 of 25

Given that /green.txt and /colors/yellow.txt are accessible, and the code fragment: Path source = Paths.get(“/green.txt); Path target =…

Choose your answer, then check it against the explanation.

Given that /green.txt and /colors/yellow.txt are accessible, and the code fragment: Path source = Paths.get(“/green.txt); Path target = Paths.get(“/colors/yellow.txt); Files.move(source, target, StandardCopyOption.ATOMIC_MOVE); Files.delete(source); Which statement is true?
Answer options
Question 5 of 25

Keep practicing

Take the free 1Z0-809 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other 1Z0-809 practice questions

Scroll to Top