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?
Sina
4 days agoAlison
7 days agoJohnetta
11 days agoRemedios
12 days agoMagda
14 days agoAlishia
17 days agoCelestina
18 days agoNadine
19 days agoBritt
4 days agoTayna
20 days agoTheola
27 days ago