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
Which python library would you prefer to use for data munging?
Does python have enums?
What is string parsing in python?
How to use of return keywords in python?
What does __ init __ mean in python?
What can I build with python?
What is the function of gil in python?
Explain finally keyword?
What is final and super keyword difference between them?
What applications are written in python?
What is a class and super class?
What kinds of patterns could I enforce on the code to make it easier to translate to another programming language?
What is a frozen set in python?
What is a file in python?
Is it easier than Django bottle?