Author: Gaurav Kumar

Functional Interfaces in Java 8

Reading Time: 4 minutes Introduction Functional interface is an interface that consists of one abstract method. These interface can show only one functionality. Beyond Java 8, lambda expressions can be used to represent the instance of a functional interface. Functional Interfaces can contain any number of default methods. Consumer, Predicate, Function, Unary Operator, Binary Operator are some of the examples of predefined functional interfaces. Points to remember which are Continue Reading