Q. What is captured from the enclosing scope in a lambda expression?
β
Correct Answer: (A)
Local variables only if they are final or effectively final
Explanation: Lambdas can capture variables from the enclosing scope if they are final or effectively final.