AI engineering glossary · Python advanced

What is superclass?

Superclass (also called Parent class, Base class): The existing class that another class is built upon and inherits from. It holds the shared attributes and behaviour, also called a parent or base class, which its subclasses reuse or refine.

Level: intermediateTopic: Python advanced

Superclass: an example

In class Dog(Animal), Animal is the superclass and supplies methods such as eat().

Related terms

More Python advanced terms

Where you learn it

Superclass is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.