Super keyword in Java

In Java, the super keyword is used to refer to the immediate parent class of a subclass. It is used to access the members (methods, variables, and constructors) of the…