Computer Science, asked by PrateekKishore2897, 1 year ago

How does class inheritance work in Python?

Answers

Answered by Milindkhade
1

Of course, Python supports inheritance, it even supports multiple inheritance. Classes can inherit from other classes. A class can inherit attributes and behaviour methods from another class, called the superclass. A class which inherits from a superclass is called a subclass, also called heir class or child class.

Similar questions