Answer the question
In order to leave comments, you need to log in
Why does a local class only have access to effectively final or final local variables?
I googled and still don't understand anything.
I met with the desire of resources to pay attention to the fact that class instances can exist even after the end of the code block (this was understandable anyway), but I still did not understand why it was impossible to use non-final variables... Please help what does it mean
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question