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?
Bette
1 months agoOliva
14 days agoSina
2 months agoRaul
11 days agoEllsworth
12 days agoArt
16 days agoAlison
2 months agoAlayna
11 days agoLawrence
19 days agoEdwin
2 months agoTomas
2 months agoJohnetta
2 months agoRemedios
2 months agoMagda
2 months agoAlishia
2 months agoCelestina
2 months agoNadine
2 months agoLynelle
30 days agoOcie
1 months agoTitus
1 months agoDenny
1 months agoMeghann
2 months agoBritt
2 months agoTayna
2 months agoTheola
3 months ago