A

Admin • 828.03K Points
Coach

Q. Can a lambda expression return a value?

  • (A) Yes, always
  • (B) Only if it is a Predicate
  • (C) No, lambdas can't return values
  • (D) Only if the return type is void

Explanation by: Admin
Lambdas can return values if the functional interface allows it.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.