posted 1 year ago
Question at page 256; Explanation and typo at page 507
2. Which can fill in the blank to have the code print true?
A. anyMatch
B. allMatch
C. noneMatch
D. None of the above
Typo in this explanation:"For both the allMatch() and noneMatch() operators, they see that the FIRST element in the stream does not match and the code prints false."
Typo: noneMatch sees that the 6 element match and prints false, NOT THE FIRST
by alinvlad05