Oracle Java SE 11 Developer 1z0-819 Question # 9 Topic 1 Discussion

Oracle Java SE 11 Developer 1z0-819 Question # 9 Topic 1 Discussion

1z0-819 Exam Topic 1 Question 9 Discussion:
Question #: 9
Topic #: 1

Given:

String originalPath = “data\\projects\\a-project\\..\\..\\another-project”;

Path path = Paths.get(originalPath);

System.out.print(path.normalize());

What is the result?


A.

data\another-project


B.

data\projects\a-project\another-project


C.

data\\projects\\a-project\\..\\..\\another-project


D.

data\projects\a-project\..\..\another-project


Get Premium 1z0-819 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.