A

Admin • 833.24K Points
Coach

Q. What restriction is placed on local variables used inside a lambda?

  • (A) They must be static
  • (B) They must be public
  • (C) They must be final or effectively final
  • (D) They must be declared inside the lambda

Explanation by: Admin

Local variables used inside lambdas must be final or effectively final.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.