book: OCP Oracle Certified Professional Java SE 11 Developer Complete Study Guide: Exam 1Z0-815, Exam 1Z0-816, and Exam 1Z0-817
As you may remember from Chapter 6, “Lambdas and Functional Interfaces,” we presented functional interfaces like Predicate, Consumer, Function, and Supplier.
but Chapter 6 didn't actually mention anything about Function interface.
Shouldn't it be something like that:
As you may remember from Chapter 6, “Lambdas and Functional Interfaces,” we presented functional interfaces like Predicate, Consumer, Supplier // and eventually Comparator because it was covered in Chapter 6
I mentioned this a few months back, and Jeanne eventually came in and acknowledged it.
I don't think it made the errata page, and the Java 17 Cert book they are already taking notes for will probably be radically re-organized due to the fact that the OCJP is a single exam these days.
But yeah, there was a gap for me between studying the earlier chapters and this one, and I remember thinking "That's not what I thought I remembered studying..."
RTFJD (the JavaDocs are your friends!) If you haven't read them in a long time, then RRTFJD (they might have changed!)
Let me tell you a story about a man named Jed. He made this tiny ad: