Can we call subclass constructor from superclass constructor in Java?

You cannot call a sub-class constructor from a super-class constructor.

Sizin İçin Seçtik  What is a superclass of?

Leave a Reply

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