What are the different types of inheritance in Python?
Answer Posted / hr@tgksolutions.com
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
Finally, tell us about bitwise operators in python?
What are python scripts?
Explain about python break, continue and pass?
Where is freeze for windows?
What are the uses of List Comprehensions feature of Python?
Is monkey patching considered good programming practice?
How do you access private methods in python?
Is r similar to python?
How do you make 3d plots/visualizations using numpy/scipy?
What is the best Django or PHP?
What is os module?
How can you share variables across modules?
What are uses of lambda?
The following is displayed by a print function call?
What are the two main data types in python?