What Happens When A Constructor Is Defined For An Interface #1085
What happens when a constructor is defined for an interface?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Interfaces Packages - Java Interfaces - Quiz No.1.
What happens when a constructor is defined for an interface?
Compilation failure
Runtime Exception
The interface compiles successfully
The implementing class will throw exception