What happens when a constructor is defined for an interface?
(a) Compilation failure
(b) Runtime Exception
(c) The interface compiles successfully
(d) The implementing class will throw exception
I have been asked this question in examination.
This question is from Interfaces in portion Interfaces & Packages of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)