Lecture 9 : OOPS Part 2 | Object Oriented Programming | Python Full Course
Shradha Khapra
0:00 / 0:00
Lecture 9 : OOPS Part 2 | Object Oriented Programming | Python Full Course
1 922 644 просмотра · 2 года назад
Shradha Khapra
942 тыс. подписчиков
1 922 644 просмотра · 2 года назад
This lecture was made with a lot of love❤️
Download Notes : https://dsa.apnacollege.in/studymater...
✨ Instagram : / shradhakhapra
✨ LinkedIn : / shradha-khapra
00:00 Inheritance & Polymorphism
02:21 Private entity
07:04 Private & Public Access
09:33 Private attributes & Methods
15:37 Inheritance in OOP allows properties and methods to be passed from parent to child classes
19:36 Learning about inheritance and the super method in OOP
26:13 Static methods cannot access and modify class state but can be used for utility in Python.
28:10 Understanding the impact of class attribute changes on object attributes
32:13 Understanding the three types of functions in OOPS: static methods, class methods, and instance methods.
34:14 Calculating percentage of student marks using OOPS
38:42 Automatic updates based on attribute changes
40:48 Understanding Polymorphism and Operator Overloading
45:05 Operator overloading allows operators to have different meanings based on context.
47:28 Complex numbers have real and imaginary parts, which are added separately.
52:25 Creating a function to add complex numbers
55:05 Operator overloading changes the meaning of operators for a class
59:03 Creating a Circle class and defining constructor and methods
1:01:30 Creating and using classes in Python with attributes and methods.
1:06:35 Separate logic for different data types in classes.
1:08:30 Last lecture will focus on project-oriented implementation.