M

Mr. Dubey • 100.69K Points
Coach

Q. Method references can replace lambdas when:

  • (A) Lambda only calls a method
  • (B) Lambda has multiple statements
  • (C) Lambda throws an exception
  • (D) Lambda modifies external variables
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category JAVA

Explanation by: Mr. Dubey
They replace lambdas that just call a method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics