What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class is not implementing that method.
What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class is not implementing that method. Correct Answer Compile time error
In case of such conflict, compiler will not be able to link a method call due to ambiguity. It will throw compile time error.
মোঃ আরিফুল ইসলাম
Feb 20, 2025