Page 1 of 1

About Question enthuware.ocpjp.v8.2.1793 :

Posted: Wed Oct 28, 2015 5:04 pm
by in2xes
Option2:
ls.stream().max(Comparator.comparing(a->a));

returns Optional<Integer>
so, correct answer is either "None of the Above" or Option 2/3 after adding .get() .

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

Posted: Wed Oct 28, 2015 5:28 pm
by admin
Fixed.
thank you for your feedback!