Question: method overloading
public void test(int a); pulic void test(long a);which sutiation x.long is called?
As you have called the test method with a number. So this value is taken as an integer value. The second method is called only when you will remove the first method.