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  How do you write a documentation in Flutter?

Leave a Reply

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