super和this

wenjie001 / 2023-08-21 / 原文

1.super调用父类的构造方法,必须在构造方法的第一行

2.super只能出现在子类的构造方法中

3.super和this不能同时调用构造方法