Can a constructor be final in Java?

Last Updated :
Discuss
Comments

Can a constructor be final in Java?


Yes, if you override it.

No, because constructors are not inherited.

Yes, but only in abstract classes.

Yes, but only for utility classes.

Share your thoughts in the comments