What Would Be The Result If A Class Extends Two Interfaces And #345
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.
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Inheritance - Java Inheritance - Quiz No.1.
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.
Runtime error
Compile time error
Code runs successfully
First called method is executed successfully