About Question enthuware.ocpjp.v8.3.1921 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Ciprian Mihalache
Posts: 51
Joined: Wed Sep 28, 2011 12:14 pm
Contact:

About Question enthuware.ocpjp.v8.3.1921 :

Post by Ciprian Mihalache »

As it is, the correct answer will not compile. One closing parenthesis (')') should be moved from the end after the 'FOLLOW_LINKS'.
Maybe the third option should be revised as well in order to make it plausible (move the closing parenthesis from '1000' to 'FOLLOW_LINKS')

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.3.1921 :

Post by admin »

I am sorry but I am not seeing the mismatch in the the correct option. You are right about the third option.

thank you for your feedback!
Paul.

Ciprian Mihalache
Posts: 51
Joined: Wed Sep 28, 2011 12:14 pm
Contact:

Re: About Question enthuware.ocpjp.v8.3.1921 :

Post by Ciprian Mihalache »

The correct answer is:

Code: Select all

.find(Paths.get(start), howDeep, (x, y)->y.size()>1000, FileVisitOption.FOLLOW_LINKS 
.map(x->x.toString()));
and it should be

Code: Select all

.find(Paths.get(start), howDeep, (x, y)->y.size()>1000, FileVisitOption.FOLLOW_LINKS)
.map(x->x.toString());

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.3.1921 :

Post by admin »

Ah, right!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests