A

Admin • 828.70K Points
Coach

Q. What is the default return type of a lambda expression without a return statement?

  • (A) void
  • (B) int
  • (C) boolean
  • (D) Depends on functional interface

Explanation by: Admin
Return type of lambda is inferred based on the functional interface's method signature.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.