Why is Super called in constructor?

What happens if we call “super()” in a constructor without extending any class, in java? A super keyword is a reference of the superclass object in Java . Using this, you can invoke the instance methods constructors and, variables, of a superclass.

Sizin İçin Seçtik  Super () ne işe yarar?

Leave a Reply

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

Why is Super called in constructor?

What happens if we call “super()” in a constructor without extending any class, in java? A super keyword is a reference of the superclass object in Java . Using this, you can invoke the instance methods constructors and, variables, of a superclass.

Sizin İçin Seçtik  Super () ne işe yarar?

Leave a Reply

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