The super keyword calls a method with the same name in the ancestor or ‘super’ class.
If the super keyword is used on its own, without any arguments being specified, all the arguments sent to the current method are passed to the ancestor method.
Knowledge point
The super keyword calls a method with the same name in the ancestor or ‘super’ class.
If the super keyword is used on its own, without any arguments being specified, all the arguments sent to the current method are passed to the ancestor method.