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 is multi level inheritance give n example ?

Answer Posted / desh

A class which is derived from another class and it can also
be derived by an another class is known as multilevel
inheritance.{combination of two or more simple inheritance
in a same program are also called as multilevel inheritance.}

example: hen->chick->egg.

animals
/ \
/ \
herbivorous carnivorous
/ \ / \
goat cow lion snake

Is This Answer Correct ?    12 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of polymorphism?

1168


What is abstraction with example?

1047


How do you define a class in oop?

1064


Why do we use encapsulation in oops?

974


Explain the advantages of inheritance.

1080


Why do we use polymorphism?

1015


What is the difference between procedural programming and oops?

1061


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2227


What is abstraction in oop?

1088


How do you define social class?

1015


How to hide the base class functionality in Inheritance?

1093


class type to basic type conversion

2340


What are the two different types of polymorphism?

1087


What is advantage of inheritance?

1131


can we make game by using c

4040