Functional Interface in Java
A Functional Interface is an interface that contains only one abstract method. You can create your own functional interface using @FunctionalInterface annotation as well.
A Functional Interface is an interface that contains only one abstract method. You can create your own functional interface using @FunctionalInterface annotation as well.
Java 8 Complete tutorial | Learn Java 8 Features with example