Home / Report Question

Q. Which method checks if no elements in the stream match a predicate?
  • A. anyMatch()
  • B. noneMatch()
  • C. noMatch()
  • D. zeroMatch()