A

Admin • 833.24K Points
Coach

Q. What is the default behavior of variables captured in lambdas?

  • (A) They must be mutable
  • (B) They must be final or effectively final
  • (C) They can be reassigned
  • (D) They are ignored

Explanation by: Admin

Captured variables in 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.