Suppose there is a question : Inner class has access to all variables of enclosing class ?
I was thinking more about this question.
Technically, static nested classes are not inner classes. On that basis, the answer is generally true.
The big exception is a static method-local class, which cannot directly access instance variables. However, that is equally true of static nested classes, static methods, and static initializers, so I would still answer your question "true".