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
Explain the difference between local and global namespaces?
Is r easier than python?
How do I emulate os.kill() in windows?
Explain about classes in strings?
Making a flat list out of list of lists in python?
What is map () in python?
Is python can be compatible with command prompt?
What do you mean by python being an “interpreted language”?
What are different ways to create an empty numpy array in python?
How to display the contents of the text file in reverse order?
How to convert a number to a string?
Which method will be used to delete a file ?
Is python in demand?
Is python case-sensitive?
What are literals in python?