Python Inheritance (Make Your Code Modular!) #22

Опубликовано: 16 Декабрь 2020
на канале: Programiz
60,495
1.2k

Inheritance is a powerful feature of object-oriented programming which allows us to derive multiple child classes from a single parent class.
🔥 Want to learn Python, the right way? Get my interactive Python course: https://bit.ly/right-python.

In this video, you will learn about inheritance in Python with the help of examples. We will also cover the concepts of method overriding and the super function. Inheritance allows us to derive multiple child classes from a single parent class. In doing so, the child classes inherit all methods and attributes of the parent class.

~
Run Python Online: https://www.programiz.com/python-prog...
Programs in this video: https://github.com/programiz/python-c...
Python Inheritance (text-based tutorial): https://www.programiz.com/python-prog...

Python Object-Oriented Programming:    • Object-oriented Programming (OOP) in Pytho...  

Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx

Timestamps:
0:00 Intro
1:25 Inheritance in Python
5:25 Example of Inheritance
10:43 Method Overriding and super

Find Programiz elsewhere:
Facebook:   / programiz  
Instagram:   / _programiz  
LinkedIn:   / programiz  
Website: https://www.programiz.com
-------------------------------------------------

Python Inheritance (Make Your Code Modular!) #22

#python #inheritanceinpython #programiz #learnprogramming


На этой странице сайта вы можете посмотреть видео онлайн Python Inheritance (Make Your Code Modular!) #22 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Programiz 16 Декабрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 60,495 раз и оно понравилось 1.2 тысяч зрителям. Приятного просмотра!