Which can fill in the blank so this code outputs true? A. Only anyMatch B. Only allMatch

Question:

Which can fill in the blank so this code outputs true? 

image text in transcribed

A. Only anyMatch

B. Only allMatch

C. Both anyMatch and allMatch

D. Only noneMatch

E. The code does not compile with any of these options. 

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: