Can we call superclass constructor from subclass constructor in Java?

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

Sizin İçin Seçtik  What is the difference between a class and an object Java program?

Leave a Reply

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