public static void main(String[] args) { System.out.println(sum(12,20)); System.out.println(sum(30,40)); } public static double sum(int i, double j) { return i+j; } public static double sum(double i, int j) { return i+j; } }