super is used to refer the constructor of parent class.we can also initilize the variables of parent class by using super keyword and also can call the methods of parent class.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
With super() the superclass no-argument constructor is called.