How to use @FunctionalInterface annotation in Java 8
The @FunctionalInterface annotation is type of information annotation which introduce from Java 8 to indicate that an interface is intended to be a functional interface. In this Java 8 tutorial we learn how to use the @FunctionalInterface annotation in Java programs.