Mike can you explain the above code . thanks . pooja .
Joined: Mar 13, 2004
Normally, i can be accessed from anywhere in the package, but j can only be accessed within class Inner.
However, an outer class has special access to the members of an Inner class.
Since i and j are instance members, they only exist when an instance of Inner is created. "this" in Outer refers to an instance of outer. "this.r" or just plain "r" can be used to access an instance member of inner.