Functional Interfaces in Java
This lesson explains the concept of functional interfaces which were introduced in Java 8.
We'll cover the following...
We'll cover the following...
What are functional interfaces?
An interface that has a single abstract method is called a functional interface.
While an interface can have one or more default methods, it should have only one abstract method to be called a functional interface.
Java 8 has defined the ...