in Education by

What are functional interfaces in Java8?

1 Answer

0 votes
by

What are functional interfaces in Java8?

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.

Related questions

0 votes
    What is the purpose of Function functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of BiConsumer functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of UnaryOperator functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ToLongFunction functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ToLongBiFunction functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ToIntFunction functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ToIntBiFunction functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ToDoubleFunction functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ToDoubleBiFunction functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of Supplier functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of Predicate functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ObjLongConsumer functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ObjIntConsumer functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of ObjDoubleConsumer functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of LongUnaryOperator functional interface in Java8?...
asked Nov 8, 2020 in Education by Editorial Staff
...