Quote Originally Posted by D.Thume View Post
If we use same name for Inner Class and Outer Class member, and if we are using the same member in Inner Class, then we can differentiate that member by using Inner and Outer Class names.

Example : If a variable int i declared in Inner Class and Outer Class, and

If we are referring Inner Class Member, we can refer as this.i ;
If we are referring Outer Class Member, we can refer as OuterClassName.this.i ;