So I have a class 'MyClass' & two interfaces 'A' & 'B'
public class MyClass implements A, B {
@Override
public void mymethod(){
System.out.println("hello world");
}
}
...
public interface A {
void mymethod();
}
...
public interface B {
void mymethod();
}
What method from what interface here is being overridden?
I'm thinking both are?
Thanks (student)