python24.1.21面向对象编程
发布时间:2024年01月21日
面向对象编程:创建对象,定义对象的方法和属性





封装:隐藏内部实现细节,只通过外部接口访问使用
继承:允许创建有层次的类(子类,父类)

多态:同样接口,对象具体类不同,表现不同


文章来源:https://blog.csdn.net/qq_45026935/article/details/135729121
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!