how to implement two interfaces having same methods
Joined: Jul 27, 2009
suppose i have two interfaces ... interface i1 and i2 and both have method of exact signature.....
public void called(), so if i am implementing both of them,then how to override(define) two different methods(one for interface i1 and another for interface i2 ). as compiler will not allow two method of exact signature in a class or other entities...so how we gonna give two methods for these two interfaces,as a single method cannot suffice the needs of two interfaces....
Joined: Jun 13, 2009
Create separate class files to imlement each interface or create inner class to implement the interfaces.