void method1(int a){ System.out.println(1); } void method1(long a){ System.out.println(2); } method1(111L);