Why can't a static nested class access “this” pointer of outer class?
问题 The thing that bothers me is the second point. I thought it might have to do with the fact that the "this" pointer isn't static and so the inner class can't access it. I'm not sure if that's the right explanation though. This also raised another question for me which was "where is the "this" pointer defined?" 回答1: The difference between a static nested class and one that isn't static is precisely that an instance of a non- static inner class is associated with a specific instance of the