✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Indica si hay errores en el siguiente código Java
interface IOperation { int operate(int arg1, int arg2); }
class AdditionMod2 implements IOperation {
public int operate(int arg1, int arg2) { return (arg1+arg2)%2; }
}
public class Main {
public static void main(String... args) {
IOperation op = new AdditionMod2();
}
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!