What compiler sees that if you are implementing the interfaces then you have to override all the methods defined in it.
so your class follows that contract.
There in no ambiguity for the compiler in calling the method.
But if you take the case defined below
at line 1 there is an error from compiler which says "The field value is ambiguous"
so you you want to access a particular constant you have to access it line <interface>.<variable>
Thanks
The important thing is not to stop questioning.Curiosity has its own reason for existing.