Class P6 { public static void test(int a , long b) { System.out.println('Test with int and long') } public static void test(long a , int b) { System.out.println('Test with long and int') } public static void main(String []args) { test(10 , 20); } }
Class P6 { public static void test(int a , long b) { System.out.println('Test with int and long') } public static void test(long a , int b) { System.out.println('Test with long and int') } public static void main(String []args) { test(10 , 20); } }