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
How do I start learning python?
What's the difference between python and anaconda programming?
What are the runtime errors?
Shade some light on the modes in python programming environment.
Explain all the file processing modes supported by python?
What is the python decorator?
Write the function f() ?
Does python have null?
Tell me what are the tools that help to find bugs or perform static analysis?
What does ord () do in python?
What is module and package in Python?
What is python explain the advantages of using python?
What is sorted in python?
What is a lambda form?
Can notepad ++ run python?