Author: Aman

Method References In java

Reading Time: 3 minutes One of the most welcome changes in Java 8 was the introduction of lambda expression. These allow us to forego anonymous classes, greatly reducing boilerplate code and improving readability. let’s take out the nectar from this ocean of method references. Method References These are a special type of lambda expressions. They allow us to pass the name of a method where a Functional interface is expected Continue Reading