What is use of functional interface in Java 8? Explain
Functional interfaces are those interfaces that have a single functionality.
- CompareTo--- This interface is only for the comparison purpose.
- Function<t,r>---this interface accepts only one argument and gives the result.
- <t>--This interface means that an object is tested to be either true or false.
Suggest An Answer
No suggestions avaliable!