📜  this 和 super 的区别 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:03.044000             🧑  作者: Mango

代码示例1
this() is used to access one constructor from another with in the 
same class 
while super() is used to
access superclass constructor. Either this() or super() exists it must 
be the first statement in the
constructor.