Can this and super be used in methods?

super can be used to call parent class’ variables and methods . super() can be used to call parent class’ constructors only.

Sizin İçin Seçtik  What is the role of super statement in constructor?

Leave a Reply

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