A

Admin • 828.03K Points
Coach

Q. Which of these returns true if all elements match a given condition?

  • (A) anyMatch()
  • (B) noneMatch()
  • (C) allMatch()
  • (D) filterMatch()

Explanation by: Admin
`allMatch()` returns true if all elements satisfy the provided predicate.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.