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 make any variable private in python ?

877


What is a cast in python?

931


In which field python is used?

867


What is subclass in python?

974


What is hashmap in python?

924


Since switch-case is not used in python – what are the replacements for switch statement in python?

899


How will you get a 10 digit zero-padded number from an original number?

851


How to split a string into a list?

1116


What is an f string in python?

943


Why is numpy so fast?

938


Is there a switch or case statement in python? If not then what is the reason for the same?

806


Explain tkinter in python

895


What is hierarchical inheritance?

911


What does a continue statement do in python?

986


Is print a function in python 3?

886