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 ?

Answers were Sorted based on User's Feedback



what is multi level inheritance give n example ?..

Answer / adil jan

The best example is Say we have 3 class
ClassA,ClassB and ClassC.

ClassB is derived from ClassA and ClassC is derived ClassB
this is multi level inheritance.

Is This Answer Correct ?    0 Yes 3 No

what is multi level inheritance give n example ?..

Answer / vidhya

The process of inheriting a new class from the already inherited class is called as multilevel inheritance.
example:
Class A
|
|
Class B
|
|
Class C

Is This Answer Correct ?    1 Yes 4 No

what is multi level inheritance give n example ?..

Answer / 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

More OOPS Interview Questions

What is polymorphism give a real life example?

0 Answers  


What is virtual destructor? Why?

3 Answers   Agile Software, College School Exams Tests, CSC,


What do you mean by inline function?

6 Answers  


Program to check whether a word starts with a capital letter or not.

1 Answers   Infosys,


how to tackle technical questions

1 Answers  


Why do we use virtual functions?

4 Answers  


suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

3 Answers   EA Electronic Arts,


How to Increment the value of the empid E001 for each and every employee by using the programe?

1 Answers   Accenture,


What is conditional Compilation?

3 Answers   emc2, HCL,


What is a linked list?

10 Answers   IBM, Neural Info,


why overriding?

3 Answers  


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

2 Answers  


Categories