can u plz explain what happens here
NonStaticChild parent = NonStaticChild.this;
Every object of a member inner class always contains a reference to its enclosing class. The expression above can be used to retrieve that enclosing object.
My question was the following: is it possible to retrieve the enclosing grandparent class in a similar fashion? I realise that you can call methods of those enclosing classes without a problem, but was just wondering about the possibility of retrieving the grandparent.