Vidyalelo
Java Programming · Q82

Inheritence

Programming · Java Programming · question 82

Q82

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.

A.
Runtime error
B.
Compile time error
Answer
C.
Code runs successfully
D.
First called method is executed successfully

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board