If there are two interfaces having one method with same signature. and your class is implementing both. and you have implemented that method only once. So in this case will it work or any warning or error will come? if works then how compiler will come to know method of which interface you are implementing?
i am stuck.. please help.
If two interface have same method, then in a class which implements both interface, how can we come to know that which method is of which interface?