February 2014
Beginner
1248 pages
62h 25m
English
• When the instance method reference System.out::println is passed to Stream method forEach, it’s converted by the compiler into an object that implements the Consumer functional interface. This interface’s accept method receives one argument and returns void. In this case, the accept method passes the argument to the System.out object’s println instance method.
Read now
Unlock full access