Home / Questions / What is the difference between a superclass and a subclass in Python?
Explanatory Question

What is the difference between a superclass and a subclass in Python?

👁 294 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Answer: A superclass is the class that is being inherited from, while a subclass is the class that is inheriting from the superclass.