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

Python >   Inheritance in Python >   Inheritance in Python  

Long Question

336


Answer:

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


This Particular section is dedicated to Question & Answer only. If you want learn more about Python. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.