Python OOP Tutorial 4: Inheritance – Creating Subclasses



If you enjoy these videos and would like to support my channel, I would greatly appreciate any assistance through my Patreon account:
https://www.patreon.com/coreyms

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

In this Python Object-Oriented Tutorial, we will be learning about inheritance and how to create subclasses. Inheritance allows us to inherit attributes and methods from a parent class. This is useful because we can create subclasses and get all of the functionality of our parents class, and have the ability to overwrite or add completely new functionality without affecting the parents class in any ways. Let’s get started.

Python OOP 1 – Classes and Instances – https://youtu.be/ZDa-Z5JzLYM
Python OOP 2 – Class Variables – https://youtu.be/BJ-VvGyQxho
Python OOP 3 – Classmethods and Staticmethods – https://youtu.be/rq8cL2XMM5M
Python OOP 4 – Inheritance – https://youtu.be/RSl87lqOXDE

If you would like to see additional ways in which you can support the channel, you can check out my support page:

Support

You can find me on:
My website – http://coreyms.com/
Facebook – https://www.facebook.com/CoreyMSchafer
Twitter – https://twitter.com/CoreyMSchafer
Google Plus – https://plus.google.com/+CoreySchafer44/posts
Tumblr – https://www.tumblr.com/blog/mycms

source

Reply

Do NOT follow this link or you will be banned from the site!