exam questions

Exam 1z0-809 All Questions

View all questions & answers for the 1z0-809 exam

Exam 1z0-809 topic 1 question 86 discussion

Actual exam question from Oracle's 1z0-809
Question #: 86
Topic #: 1
[All 1z0-809 Questions]

Given the code fragment:

What is the result?

  • A. 5 : 3 : 6
  • B. 6 : 5 : 6
  • C. 3 : 3 : 4
  • D. 4 : 4 : 4
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
pul26
Highly Voted 3 years, 7 months ago
Answer is A tested
upvoted 7 times
...
Marcolino1310
Most Recent 3 weeks, 6 days ago
Selected Answer: A
Answer ist A. On a Mac or Linux-Computer. Don't try this with Windows.
upvoted 1 times
...
asdfjhfgjuaDCV
4 months, 1 week ago
A is the correct answer
upvoted 1 times
...
iSnover
5 months, 2 weeks ago
Selected Answer: A
Answer is A, I tested it with JDK8.
upvoted 1 times
...
Kim514
1 year, 3 months ago
Path path1 = Paths.get("/software/././sys/readme.txt"); Path path2 = path1.normalize(); Path path3 = path2.relativize(path1); System.out.print(path1.getNameCount()); System.out.print(" : " + path2.getNameCount()); System.out.print(" : " + path3.getNameCount()); ---------------------------------------------------------------------------------- 5 : 3 : 1 Process finished with exit code 0
upvoted 2 times
...
lchowen
1 year, 10 months ago
Using JDK8 I got 5:3:6. Answer is definitely A
upvoted 1 times
...
Eason_from_the_future
2 years, 10 months ago
p1.relativize(p1).getNameCount(); // 1 p2.relativize(p1).getNameCount(); // 6
upvoted 1 times
...
Huim
3 years, 1 month ago
By me answer is: 5 3 1
upvoted 4 times
Svetleto13
3 years, 1 month ago
Answer is A.I tested it with JDK8
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago