Page 1 of 1
About Question enthuware.ocpjp.v8.3.1921 :
Posted: Sun Dec 25, 2016 5:00 am
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')
Re: About Question enthuware.ocpjp.v8.3.1921 :
Posted: Sun Dec 25, 2016 8:54 am
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.
Re: About Question enthuware.ocpjp.v8.3.1921 :
Posted: Sun Dec 25, 2016 9:00 am
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());
Re: About Question enthuware.ocpjp.v8.3.1921 :
Posted: Sun Dec 25, 2016 12:05 pm
by admin
Ah, right!