|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/object-oriented-programming-for-beginners-using-python/
课程评论:没有评论
课程名称:初学者的面向对象编程 - 使用Python 课程概述:面向对象编程(OOP)是一种编程范式,它为程序的结构提供了一种组织方式,将属性和行为封装到独立的对象中。举例来说,一个对象可以代表一个人,具有姓名、年龄、地址等属性,以及走路、说话、呼吸和跑步等行为。又如,一个电子邮件对象可以具有收件人列表、主题、正文等属性,以及添加附件和发送等行为。换句话说,面向对象编程是一种模拟现实世界具体事物(如汽车)及其之间关系(如公司与员工、学生与老师等)的方式。OOP 将现实世界的实体建模为软件对象,这些对象具有一些相关的数据,并能执行特定的功能。 面向对象编程基于命令式编程范式,利用语句来改变程序状态,侧重于描述程序的运行方式。OOP 使用对象和类的概念,类可以被视为对象的“蓝图”,这些对象可以拥有自己的属性(它们所具备的特征)和方法(它们执行的操作)。 在本课程中,您将学习面向对象编程的关键概念,包括: - 类 - 方法 - 实例化 - 继承 - 多态 - 封装 - 抽象 通过本课程的学习,您将掌握使用Python进行面向对象编程的基本技能和理论知识。
Object-oriented Programming, or OOP for short, is a programming paradigm which provides a means of structuring programs so that properties and behaviors are bundled into individual objects.For instance, an object could represent a person with a name property, age, address, etc., with behaviors like walking, talking, breathing, and running. Or an email with properties like recipient list, subject, body, etc., and behaviors like adding attachments and sending.Put another way, object-oriented programming is an approach for modeling concrete, real-world things like cars as well as relations between things like companies and employees, students and teachers, etc. OOP models real-world entities as software objects, which have some data associated with them and can perform certain functions.Object-oriented programming is based on the imperative programming paradigm, which uses statements to change a program's state. It focuses on describing how a program should operate.OOP uses the concept of objects and classes. A class can be thought of as a 'blueprint' for objects. These can have their own attributes (characteristics they possess), and methods (actions they perform).In this course you will learn the key concepts of object oriented programming which includes:ClassesMethodsInstantiatingInheritancePolymorphismEncapsulationAbstraction