a) Compilation failure
b) Runtime Exception
c) The interface compiles successfully
d) The implementing class will throw exception
1 thought on “What happens when a constructor is defined for an interface?”
Leave a Comment
You must be logged in to post a comment.
a
Explanation: Constructor is not provided by interface as objects cannot be instantiated.