A

Admin • 825.56K Points
Coach

Q. Which method checks if no elements in the stream match a predicate?

  • (A) anyMatch()
  • (B) noneMatch()
  • (C) noMatch()
  • (D) zeroMatch()

Explanation by: Admin
`noneMatch()` returns true if no elements match the predicate.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.