What is difference between Super and this constructor?

Difference Between this() and super() Constructor The this() constructor refers to the current class object. The super() constructor refers immediate parent class object. It is used for invoking the current class method.

Sizin İçin Seçtik  What is struct in struct node?

Leave a Reply

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