What are functional Interface?

Ans :- Functional interfaces are those interfaces which can have only one abstract method . It can have any number of default and static methods.

functional interfaces already present in javaLib such as
example:
Runnable,Callable,Supplier,Consumer,Bi- Consumer,Predicate, Bi -Predicate

Leave a Reply

Your email address will not be published. Required fields are marked *

*