내부 클래스에서 외부 클래스의 "this"에 어떻게 액세스 할 수 있습니까? thisJava 내부 클래스 내에서 참조를 얻을 수 있습니까? 즉 class Outer { void aMethod() { NewClass newClass = new NewClass() { void bMethod() { // How to I get access to "this" (pointing to outer) from here? } }; } } 다음과 같이 외부 클래스의 인스턴스에 액세스 할 수 있습니다. Outer.this Outer.this 즉. class Outer { void aMethod() { NewClass newClass = new NewClass() { void bMethod() { System.out.prin..