/green.txt and /colors/yellow.txt are accessible, and the code fragment:
Given that -
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?
green.txt file content is replaced by the yellow.txt file content and the yellow.txt file is deleted.
Innovation
Highly Voted 4 years, 6 months agoDarGrin
Most Recent 1 month, 1 week agosteefaand
5 months, 1 week agoiSnover
5 months, 1 week agoAVB22
2 years, 8 months ago