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?