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...

difine hierarchical inheritance.

Answer Posted / sujatha

hierarchical inheritance:

It is a type of inheritance where one or more derived
classes is derved from common( or one ) base class .


ex:

class A
{
// definition of class A
};


class B : public A //derived from A
{
// definition of class B
};


class C : public A //derived from A

{
// definition of class c
};

Is This Answer Correct ?    134 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define social class?

1116


what is the drawback of classical methods in oops?

3429


What is the benefit of oop?

1103


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1692


Whats is abstraction in oops?

1138


Why do we use polymorphism?

1129


Templates mean

2151


Where is pseudocode used?

1167


Why do while loop is used?

1097


What is the example of polymorphism?

1207


What is data binding in oops?

1150


Can a varargs method be overloaded?

1156


How to hide the base class functionality in Inheritance?

1187


Why is encapsulation used?

1054


What is the difference between abstraction and polymorphism?

1155