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

Explain the difference between local and global namespaces?

930


Is r easier than python?

832


How do I emulate os.kill() in windows?

1054


Explain about classes in strings?

906


Making a flat list out of list of lists in python?

1000


What is map () in python?

891


Is python can be compatible with command prompt?

1144


What do you mean by python being an “interpreted language”?

1011


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

946


How to display the contents of the text file in reverse order?

953


How to convert a number to a string?

953


Which method will be used to delete a file ?

852


Is python in demand?

851


Is python case-sensitive?

1985


What are literals in python?

1032