You are on page 1of 1

super keyword:

super is used to call the constructor of super class.

it is used to call method of super class.

and it can also access the properties of super class.

Method Overriding:

If method of parent class is redefined again in the child class then it is called method overriding.

it is required when method of parent class cannot fulfill the purpose of child class.

Recursion: a method which call itself is called recursive method.

You might also like