✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
P8. Suposa que tens la següent classe Calculadora amb un mètode sumar:
I volem provar que el mètode sumar funciona correctament. Quin mètode d'assertion hauríem d'utilitzar per aquest propòsit?
| public class Calculadora { public int sumar(int a, int b) { return a + b; }} |