Q. What is the purpose of the `Predicate` functional interface?
β
Correct Answer: (B)
Test a condition on input and return boolean
Explanation: `Predicate` takes an input and returns a boolean result based on a condition.