Can a superclass call a subclass constructor?

No, we cannot call subclass constructor from superclass constructor.

Sizin İçin Seçtik  What happens if you don't call super constructor Java?

Leave a Reply

Your email address will not be published. Required fields are marked *