Page 1 of 1

Error in OCAJP Java 8 & OCP Java SE 11 Books

Posted: Thu Mar 05, 2020 8:33 pm
by ardurn
Hello,

thanks for the great books. They are very helpful. I just spotted a minor mistake:
in section 7.5.2 (OCAJP Java 8) and 8.5.2 (OCP Java SE 11) "Syntax of the enhanced for loop" it is stated that the interface Iterable is located in the package java.util. The correct package is java.lang and therefore the FQCN is java.lang.Iterable.

Best regards
Ardurn

Re: Error in OCAJP Java 8 & OCP Java SE 11 Books

Posted: Thu Mar 05, 2020 10:01 pm
by admin
You are right. Added to the errata.
thank you for your feedback!