This question already has answers here: Short description of the scoping rules? (9 answers) Closed 7 months ago. Shouldn’t field be undefined on line 50? It was my understanding that inner nested classes did not have visibility to outer classes, as I ran into on line 65… Just seems kind of inconsistent and I would love to have a better