Hello, im studying to get the OCP Java 8 certification.
I'm readinn the book "OCP Oracle Certified Professional Java SE 8 Programmer II Study Guide, by Jeanne Boyarsky and Scott Selikoff"
I have a doubt, in page 59, there is a lambda example, that I think that there is no possible way to assign it to a Functional Interface:
For example, the next lambda expression:
can be successfully asigned to a IntConsumer:
greetings
Jaime Reyes
I'm readinn the book "OCP Oracle Certified Professional Java SE 8 Programmer II Study Guide, by Jeanne Boyarsky and Scott Selikoff"
I have a doubt, in page 59, there is a lambda example, that I think that there is no possible way to assign it to a Functional Interface:
For example, the next lambda expression:
can be successfully asigned to a IntConsumer:
greetings
Jaime Reyes