The implemented method would be of which interface ? There are two interfaces B and C each having the same method public m1() class A implements B and C. If class A has to implement method m1, the implemented method would be of which interface ?
Gul Md Ershad
Use B.m1() and C.m1()
As long as they have the same signatures the compiler will consider them as one method. In case that one of them has a different return type it would result in compile error. Overridden method will be applicable for both the interface.