From ff92b0f3a87ba3621378bd398d47a3d6b1c5989a Mon Sep 17 00:00:00 2001 From: Pradeep Kumar Date: Mon, 10 Feb 2020 11:45:01 +0530 Subject: [PATCH] Update java8-questions.md --- java8-questions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java8-questions.md b/java8-questions.md index 5f366ff..b7f4918 100644 --- a/java8-questions.md +++ b/java8-questions.md @@ -655,6 +655,10 @@ System.out.println(operator.apply ( 1 , 2 )); // 3 * `IntBinaryOperator`- binary operator receiving input Integer; * `LongBinaryOperator`- binary operator receiving input Long. +
+ ↥ back to top +
+ #### Q. What are the functional interfaces `Predicate`, `DoublePredicate`, `IntPredicateand` `LongPredicate`? `Predicate`(**predicate**) - the interface with which a function is implemented that receives an instance of the class as input `T`and returns the type value at the output `boolean`.