in JAVA 24. Suppose that a class has an overloaded method named add with the following…

in JAVA
24. Suppose that a class has an overloaded method named add with the following two implementations: double add (int x, double y) { return x + y; } double add (double x, int y) { return x + y + 1; } What, if anything, will be returned by the following method calls? A. add(3, 3.14) B. (3.14, 3) C. add (3, 3) D. add (3.14, 3.14) 29. Here is the code for a recursive method named mystery. What is printed when mystery(1, 2) is called? How many recursive calls were made? void mystery(int a, int b) if(a == 0 && b == 0) System.out.println(0); else if (a == 0) { System.out.println (b); mystery(a, b-1); else { mystery(a-1, b); System.out.println (b);