会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
呆呆蒙蒙
博客园
首页
新随笔
联系
管理
订阅
2021年5月29日
python类继承多态
摘要: 1、python类如何调用父类构造函数 __init__ (继承过程中强调父类构造方法) -方法一: super().__init__ class Father(): def __init__(self): print("张三") class Son(Father): def __init__(se
阅读全文
posted @ 2021-05-29 12:15 呆呆蒙蒙
阅读(176)
评论(0)
推荐(0)
公告