A

Admin • 825.56K Points
Coach

Q. What is the purpose of the `Predicate` functional interface?

  • (A) Consume an input and produce a result
  • (B) Test a condition on input and return boolean
  • (C) Supply values with no input
  • (D) Chain multiple consumers

Explanation by: Admin
`Predicate` takes an input and returns a boolean result based on a condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.