1.

What Are Functional Interfaces?

Answer»

FUNCTIONAL INTERFACES have a single functionality to exhibit. For example, a Comparable INTERFACE with a single method 'compareTo' is used for comparison purpose. Java 8 has DEFINED a lot of functional interfaces to be used extensively in lambda expressions.

Functional interfaces have a single functionality to exhibit. For example, a Comparable interface with a single method 'compareTo' is used for comparison purpose. Java 8 has defined a lot of functional interfaces to be used extensively in lambda expressions.



Discussion

No Comment Found