When do you call super() in Java?
I see it in some constructors of the derived class, but isn\'t the constructors for each of the parent class called automatically? Why woul
You may call super() with parameters if you want to call a non-default constructor of the superclass, or if the superclass does not have a default constructor. The compiler can only insert the default, no arguments super() constructor.