@ -244,7 +244,7 @@ public class TestCircleRectangle {
### 2.1. 构造函数也被继承了吗?
### 2.1. 构造函数也被继承了吗?
> No. They are not inherited.They are invoked explicitly or implicitly. Explicitly using the super keyword.
> No. They are not inherited.They are invoked explicitly or implicitly. Explicitly using the super keyword.
>
>
> A constructor is used to construct an instance of a class. Unlike properties and methods, a superclass's constructors are not inherited in the subclass. They can only be invoked from the subclasses' constructors, using the keyword super. If the keyword super is not explicitly used, the superclass's no-arg constructor is automatically invoked.
> A constructor is used to construct an instance of a class. Unlike properties and methods, a superclass's constructors are not inherited in the subclass. They can only be invoked from the subclasses' constructors, using the keyword super. If the keyword super is not explicitly used, the superclass's no-arg constructor is automatically invoked.