Can a method-local inner class access static variables of the enclosing class?
Yes, a method-local inner class can access static variables of the enclosing class because they belong to the class itself, not to any instance.
Great! You've correctly identified how method-local inner classes access static variables.
What would happen if a method-local inner class tried to access a non-static variable of the enclosing class?