How does super constructor work in Java?

super() calls the parent constructor with no arguments . It can be used also with arguments. I.e. super(argument1) and it will call the constructor that accepts 1 parameter of the type of argument1 (if exists).

Sizin İçin Seçtik  PivotTable daki sütun ve satır etiketleri ne işe yarar?

Leave a Reply

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