Given the code fragment:
Path source = Paths.get(''/repo/a/a.txt'');
Path destination = Paths.get(''/repo'');
Files.move(source, destination); // line 1
Files.delete (source); // line 2
Assuming the source file and destination folder exist, what Is the result?
Currently there are no comments in this discussion, be the first to comment!