You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class A {
void m() {
System.out.println("outer");
}
}
public class InnerClassTest {
public void test() {
new InnerClassTest().go();
class A {
void m() {
System.out.println("inner2");
}
}
new A().m();
}
void go() {
new A().m();
class A {
void m() {
System.out.println("inner");
}
}
}
void go2() {
new A().m();
class A {
void m() {
System.out.println("inner");
}
}
}
class A {
void m() {
System.out.println("middle");
}
}
Activity
andxu commentedon Sep 21, 2017
class A {
void m() {
System.out.println("outer");
}
}
public class InnerClassTest {
}
testforstephen commentedon Sep 25, 2017
fixed