In the non-static local class, it is not permitted to access non-final local variables from the enclosing method, but it is allowed to do so with the the non-static field inherited from the superclass. Could somebody tell me what is/are the reason(s) for this?
Thank you
Sura Watthanalamlert