Java 8 Functional Interface Predicate | Java 8 Stream Interview Question

preview_player
Показать описание
A Functional Interface is an Interface which allows only one Abstract method within the Interface scope. There are some predefined functional interface in Java like Predicate, consumer, supplier etc. The return type of a Lambda function (introduced in JDK 1.8) is a also functional interface.

#predicate #java8 #javastreams #streamapi #java8interviewquestion
#java #javainterviewquestions #functionalinterface
Рекомендации по теме