Ace Java 2026: Rock Your 'Thinking in Java' Challenge!

Session length

1 / 730

Can constructor in Java be overridden?

Yes

No

In Java, constructors cannot be overridden. This is because unlike methods, constructors cannot be inherited by subclasses. This means that a subclass cannot override the constructor of its superclass. However, a subclass can specify which constructor of the superclass should be invoked when creating an instance of the subclass. Option A is incorrect because constructors cannot be overridden, but can be invoked through the use of the super keyword. Option C is incorrect because the type of a constructor (default or non-default) does not affect its ability to be overridden. Option D is incorrect because as stated, constructors cannot be overridden in Java.

Get further explanation with Examzify DeepDiveBeta

Only if it is a default constructor

Only in a subclass

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy