PPT Slide
What happens when a method of the same name appears in more than one interface, i. e., in both X and Y?
?If methods in X and Y have the same name but different signatures, the Z class will have two overloaded methods.
?If the methods in X and Y have exactly the same signature, the Z class will have one method with that signature.
?If the signatures differ only in return type, you can’t implement both X and Y.
?If the two methods differ only in the types of exceptions they throw, there must be only one implementation that satisfies both throws clauses.