It is a keyword in java used to access members of a class inherited by the class in which it appears. Super method is use to transfer the message or data to their super class (it refers to a class from which a particular class (subclass) is derived.) constructor to initialize their data.
Examplethis is the simple demonstration, how to use super keyword in java.
Person(String userName,String add, int userAge)
Class Employee extends Person
Employee(String name, String add, int u_age,int code,int sal)
Public Static void main(Strings args)
Employee e=new Employee(“davis”,”newHoles”,27,001,4000);