Current location - Quotes Website - Signature design - In java, the Worker class is a subclass of the Person class, and there is a "super ()" in the constructor of the Worker, which ().
In java, the Worker class is a subclass of the Person class, and there is a "super ()" in the constructor of the Worker, which ().
It's C.
Because the super () in the constructor must be the constructor that calls the parent class.
The Worker class is a subclass of the Person class. Explain that the parent class of Worker is Person. So the constructor of person is called.