Inheritance (OO Python Tutorials)

Published: 26 November 2023
on channel: Andy Dolinski
300
7

Lesson 02 - Hello and welcome back to this video series on Object Oriented Programming in Python. In the previous video, you learned what Object Oriented Programming, or OOP, is and how to define classes and create objects in Python. In this video, you will learn how to use class inheritance, which is a powerful feature of OOP that allows you to reuse and extend existing code.

Class inheritance is a mechanism that allows you to create a new class that inherits the attributes and methods from another class. The class that inherits from another class is called the child class or the subclass, and the class that is inherited from is called the parent class or the superclass. By using inheritance, you can avoid writing duplicate code and make your code more modular and maintainable.


On this page of the site you can watch the video online Inheritance (OO Python Tutorials) with a duration of hours minute second in good quality, which was uploaded by the user Andy Dolinski 26 November 2023, share the link with friends and acquaintances, this video has already been watched 300 times on youtube and it was liked by 7 viewers. Enjoy your viewing!