Vidyalelo
Java Programming · Q145

Interfaces and Abstract Classes

Programming · Java Programming · question 145

Q145

What will happen if we provide concrete implementation of method in interface?

A.
The concrete class implementing that method need not provide implementation of that method
B.
Runtime exception is thrown
C.
Compilation failure
Answer
D.
Method not found exception is thrown

Answer: Option C

Solution

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