In Java, a class can only have a single parent (it can only extend a single class).
A class can implement any number of interfaces.
Since the class that implements the interface must write the code for each method, there is no ambiguity as to which method will be called.