class A {
public void foo(long l){
}
public void foo(double d){
}
}
class Ideone
{
{
A a = new A();
a.foo(123);
}
}
Y2xhc3MgQSB7CglwdWJsaWMgdm9pZCBmb28obG9uZyBsKXsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIkxvbmciKTsKCX0KCQoJcHVibGljIHZvaWQgZm9vKGRvdWJsZSBkKXsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIkRvdWJsZSIpOwoJfQp9CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJQSBhID0gbmV3IEEoKTsKCQlhLmZvbygxMjMpOwoJfQp9