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. a::contains(b)

B. a::contains

C. String::contains(b)

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: