I just found out that an inner class can access another inner class's private member like this:
public class TestOutter {
    class TestInner1 {
        private int mInt = 1;
    }
    class TestInner2 {
        public int foo(TestInner1 value) {
            return value.mInt;
        }
    }
}
Method foo of TestInner2 can access the private member mInt of TestInner1.
But I have never see this case before. I don't know the meaning of letting code in TestInner2 can access to the private member of TestInner1.
I was searched about inner class in google, none of the search results shows that inner class have this feature. I also look up to The Java Language Specification, but it still not mention about that.
 
     
     
    