Tricky Java

PHOTO EMBED

Wed Oct 20 2021 07:33:45 GMT+0000 (Coordinated Universal Time)

Saved by @gaga #java

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);
  }
}
content_copyCOPY

Will this code run!!! What do you think? Let us know. If yes show us the output if not find the reason and post the solution to this problem. We will post the solution at 8:00 pm. Stay tunned !!