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 will you use python to read a random line from a file?
what is the statement that can be used in python if the program requires no action but requires a statement syntactically?
Which os is best for python?
How many hours should a person sleep?
What is numpy in python?
State some programming language features of python?
How to get class name of an instance in Python?
What are “special” methods in python?
What is python and why python?
How install pip python ubuntu?
What are different methods to copy an object in python?
Who developed python?
Is Python good for backend?
Is python a shell?
How do you debug a program in python? Answer in brief.