Lambda Expression & Functional Interface

Lambda expressions are new feature of Java 8. With Lambda Expression function call sequence becomes more easier compared with earlier releases of Java. In this example, we will learn about Lambda expression and use it for Functional Interface. When an interface contains only one abstract method, we call it as functional interface