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`.