What are the different types of inheritance in Python?
Answer Posted / glibwaresoftsolutions
Single inheritance: A derived class acquires the members of a single superclass.
many inheritance: A derived class inherits traits from many base classes.
Muti-level inheritance: base1 is the source of the derived class D1, whereas base2 is the source of D2.
Any child class can be inherited from a single base class using hierarchical inheritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to add values to a python array?
What are the different ways to create an empty numpy array in python?
Is python easy to learn if you know c++?
You mentioned pypi in your previous answer. Can you elaborate?
What is a character?
What is a coverage report?
What are objects and classes in python?
How to generate random numbers in python?
What is frozen set in python?
Tell us what is python?
What is python console?
What is a docstring in python?
does recursion cause any trouble?
What does code coverage mean?
If you are ever stuck in an infinite loop, how will you break out of it?