• this() 和 super() 在构造体里怎么用?

    this() 和 super() 在构造体里怎么用?

    this() 在同一个类的构造体被调用. this(“toto”,”tata”,1)相当于调用对应参数的构造体.

    super() 用来调用父类构造体.