Page 1 of 1

About Question enthuware.ocpjp.v8.2.1810 :

Posted: Wed Oct 07, 2015 8:40 am
by Martyjee
The code will not compile because the compiler cannot find 'books'.
I think 'books' should be replaced with 'friends'.

Furthermore, the explanation contains: ...second, it maps each Person element to an int using the mapping function b.getAge().
I think the mapping function should be f->f.getAge().

Kind regards,

Martijn

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

Posted: Wed Oct 07, 2015 9:14 am
by admin
You are right. Fixed.
thank you for your feedback!