Q245
What happens when a constructor is defined for an interface?
A.
Compilation failure
AnswerB.
Runtime Exception
C.
The interface compiles successfully
D.
The implementing class will throw exception
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board