Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Best Practices: Python OOP

InheritanceInheritance

In Python, classes can inherit from other classes, allowing you to reuse code and create a hierarchy of classes. The parent class is known as the base class and the child class is known as the derived class.

Task

Try and experiment round with the GoldenRetriever object!

Mark tasks as Completed

Everything was clear?

Section 1. Chapter 7
AVAILABLE TO ULTIMATE ONLY
course content

Course Content

Best Practices: Python OOP

InheritanceInheritance

In Python, classes can inherit from other classes, allowing you to reuse code and create a hierarchy of classes. The parent class is known as the base class and the child class is known as the derived class.

Task

Try and experiment round with the GoldenRetriever object!

Mark tasks as Completed

Everything was clear?

Section 1. Chapter 7
AVAILABLE TO ULTIMATE ONLY
some-alt