Tuesday, 2 July 2013

Properly Accessing your Outer Class

Recently, during my work, a colleague indicated a way to make it obvious that a variable used in an Inner class, belonged to the outer class. In order to prevent being ambiguous.

I didn't know that could work.


Nested Classes - The Java Tutorials

No comments:

Post a Comment