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.
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.