This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

OCP Java SE 8 Programmer II - page 224 - error (Sybex)  RSS feed

 
Marc-André Parent
Greenhorn
Posts: 4
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page 224, first paragraph of the "Exam Essentials" section.
In the last sentence "methods" should be "functional interfaces"
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36437
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've noted this on our private list of things that could be clearer. Technically it isn't wrong as there is a single abstract method in a functional interface that has those properties.
 
Marc-André Parent
Greenhorn
Posts: 4
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Granted that there is a single method on the functional interfaces, but the context is talking about functional interfaces and not their methods.
"The most common functional interfaces are Supplier, Consumer, Function and Predicate.  There are also binary versions and primitive versions of many of these..."
Am I right by saying that by "binary versions" you mean BiConsumer, BiFunction, BiPredicate?
And for "primitive versions" you mean functional interfaces such as: IntSupplier, IntConsumer, LongSupplier, LongConsumer?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36437
454
Eclipse IDE Java VI Editor
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!