Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to add values to a python array?

953


What are the different ways to create an empty numpy array in python?

896


Is python easy to learn if you know c++?

885


You mentioned pypi in your previous answer. Can you elaborate?

892


What is a character?

937


What is a coverage report?

863


What are objects and classes in python?

1010


How to generate random numbers in python?

1086


What is frozen set in python?

820


Tell us what is python?

1011


What is python console?

860


What is a docstring in python?

922


does recursion cause any trouble?

892


What does code coverage mean?

809


If you are ever stuck in an infinite loop, how will you break out of it?

955