[HD Pg 372, Sec. 12.5.4 - scope-of-variables-in-a-lambda-expression]
Posted: Thu May 02, 2019 7:32 pm
Just so I'm clear about this. The section talks about variable x not being effectively final because its value changes later on in the code. So when an attempt is made to "use" a variable within the body of a lambda expression, lambda checks the scope of what - its method, its class, all the classes in the program, to see if the variable is final or effectively final?
Please feel free to over elaborate
Thanks
Please feel free to over elaborate
