0 votes
in JAVA by
What is the use of super keyword in Java?

1 Answer

0 votes
by

 What is the use of super?

super() is used to invoke the superclass constructor by the subclass constructor. In this way, we do not have to create different objects for super and subclasses.

Related questions

0 votes
asked May 30, 2020 in JAVA by Robindeniel
0 votes
asked Nov 14, 2020 in JAVA by rajeshsharma
...