✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Qué ocurre con el siguiente código?
class Calculadora {
int sumar(int a, int b) {
return a + b;
}
double sumar(double a, double b) {
return a + b;
}
}
public class Test {
public static void main(String[] args) {
Calculadora c = new Calculadora();
System.out.println(c.sumar(5, 3.5));
}
}