Page 1 of 1

Errors in OCAJP Java 8 & OCP Java SE 11 Books

Posted: Mon Mar 30, 2020 10:26 am
by ardurn
Hello,

I would like to report two mistakes I have found:

OCAJP Java 8 12.3.4 Comparing date/time objects

The correct method name is isEqual instead of isEquals. The wrong name is mentioned multiple times.

OCAJP Java 8 12.5.3 Using Predicate interface
OCP Java SE 11 14.1.3 Using Predicate

In the description of the isEqual method an example is given:
"Predicate equals = Predicate.isEquals(c1);"
The method name should be isEqual instead of isEquals

Best regards
Ardurn

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

Posted: Tue Mar 31, 2020 2:04 am
by admin
You are right. Added to the errata.
thank you for your feedback!