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

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

Question

Given the code fragment:

Path pathl = Paths.get("/software/././sys/readme.txt
Path path2 = path1.normalize();

Path path3 = path2.relativize(path1) 7

System. out.print (path1.getNameCount ()) 7
System.out.print(" : " + path2.getNameCount())7
System.out.print(" : " + path3.getNameCount ())7

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.