python中类的继承 一、定义 子类可以继承父类的属性和方法,实现 class 子类(父类): 二、超级继承 super().方法() 三、多态 python是一门动态语言,严格来说的python不存在多态。 四、私有化