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

What is protected in oop?

1026


What are constructors in oop?

1107


How to call a non virtual function in the derived class by using base class pointer

6448


Get me an image implementation program.

1949


when to use 'mutable' keyword and when to use 'const cast' in c++

2124


Please send ford technologies placement paper 2 my mail id

2070


Why is destructor used?

978


What is overriding vs overloading?

1021


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

1589


What is encapsulation in ict?

1007


Why do we need polymorphism in c#?

1116


What is static modifier?

1149


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2095


Which type does string inherit from?

1068


Get me a number puzzle game-program

2208