Course Content

  • Inheritance

Course Content


Inheritance in Python is all about making new object that are based on old objects. This can be accomplished by using the "class" keyword. The new class contains all the features of the old class, but with any changes that are specified in the new class.

Python supports five different types of inheritance: single, multiple, list, class and object. Inheritance is a form of code reuse that allows you to create a new type from an existing type to share common features from the original.

Inheritance is the act of forming a new class based on an existing one. The new class can then implement its own methods and override the parent's if necessary. This is done by typing "class NewClass(ParentClass):".

The purpose of python inheritance is to simplify code. Python inheritance allows you to create new classes from an existing class and then inherit those class' attributes and methods. This technique can help you avoid writing the same code over and over again.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere