I have seen many questions about accessing private members of an enclosing class. However, my question is the opposite.
If I have (as an example), the following cod
1. this
only works with non-static member, thats right..... But you are not using this
but instance of the Outer Class.
2. And you can very well access the Outer class private member
from the (Top level) inner static class.
3. Outer to Inner and from Inner to Outer has the ability to access the private member of each other..only difference is that, non static inner class
has implicit reference to the Outer class, and for static inner class
you must access using the Instance.