Lesson-22 | Method Resolution Order & super() function | [OOP in Python]

Опубликовано: 29 Октябрь 2024
на канале: Learning Orbis
1,476
18

This is the lesson number 22 of the lesson series on Object Oriented Programming (OOP) in Python. It will be a complete course with the aim is to cover almost everything needed in Object Oriented Programming.

In this lesson we will discus about MRO (Method Resolution Order) which is important to work with class inheritance. Moreover we will learn about the super() function.


Link to complete playlist:
   • Object-Oriented Programming in Python  

Floating Point arithmetic limitations:
https://docs.python.org/3/tutorial/fl...

Lesson Code:
https://github.com/MAN1986/OOP-in-Pyt...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Review Questions of the Lesson
1- What is the default object class.
2- Describe one case where hasattr() can be useful.

#OOP #ObjectOrientedProgramming #Python