Question 23 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question 23 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question

Assuming that the file /data/december/log.txt does not exist and given the code fragment:

Path source Paths.get (“/data/december/log.txt”);
Path destination = Paths.get (“/data”);
Files.copy (source, destination);

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.