// Quiz: What is the output of this?
public class SomeClass {
void foo(SomeClass this) {
System.out.println("A");
}
void foo(SomeClass that) {
System.out.println("B");
}
public static void main(final String[] args) {
final SomeClass x = new SomeClass();
x.foo(x);
}
}
Comments
0 B
|👍
/👎