Junior — Middle
Is the call to the base class constructor Object explicit or implicit in programming languages?
sobes.tech AI
Answer from AI
In Java, the constructor of the base class Object is called implicitly if the subclass constructor does not explicitly call another superclass constructor using super(). By default, the compiler inserts a call to super() without parameters at the beginning of the constructor if it is not done manually. Therefore, the Object constructor is called automatically when creating any object unless otherwise specified.