Which method reference can replace the lambda on the second line so the output is the same?

Question:

Which method reference can replace the lambda on the second line so the output is the same? 

image text in transcribed

A. s::contains(a)

B. s::contains

C. String::contains(a)

D. String::contains

E. The supplied code does not compile.

F. None of the above.

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

Step by Step Answer:

Question Posted: