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); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter