Since java class can implement multiple interfaces and each interface can define default method with same method signature, therefore the inherited methods can conflict with each other. Consider the below example., The above code will fail to compile with the following error: java:class Impl inherits unrelated defaults for defaultMethod() from types InterfaceA and InterfaceB….