Why Java interfaces can't have constructors?

Posted by AndrejaKo on Stack Overflow See other posts from Stack Overflow or by AndrejaKo
Published on 2010-05-09T12:06:33Z Indexed on 2010/05/09 12:08 UTC
Read the original article Hit count: 263

This question showed up on my mid-term exams and I've been searching for correct answer for some time. I know that Java interfaces can't be directly instantiated so they don't need constructors and that they can have only public static final attributes so they don't need constructors to set them up but that's not the expected answer.

© Stack Overflow or respective owner

Related posts about java

Related posts about interface