Why does the constructor of a non-private inner member class need a variable representing the immediately enclosing instance of this class?
I am very curious about this question. The Java Language Specification has told me part of the reason:
Why does the constructor of a non-private inner member class need a variable representing the immediately enclosing instance of this class?
I am very curious about this question. The Java Language Specification has told me part of the reason: