I did not understand the following sentence from Kathy Sierra Book.
A method-local inner class cannot use variables declared within the method (including parameters) unless those variables are marked final.
I wrote a sample code as below.
According to the above sentence from kb book, I made variable 'a' final but I cannot access it. I can only access the variable 'j' if it's final, but then again, I cannot access the method someMethod222() even if it's marked final?