Java 8 features
Feature Name Description Lambda expression A function that can be shared or referred to as an object. Functional Interfaces Single abstract method interface. Method References Uses function as a parameter to invoke a method. Default method It provides an implementation of methods within interfaces enabling ‘Interface evolution’ facilities. Stream API Abstract layer that provides pipeline…