Why is super class constructor always called [duplicate]
That is how Java works. The constructors of the parent classes are called, all the way up the class hierarchy through Object, before the child class’s constructor is called. Quoting from the docs: With super(), the superclass no-argument constructor is called. With super(parameter list), the superclass constructor with a matching parameter list is called. Note: … Read more