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

write a C++ program for booking using constructor and destructor.

2542


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4145


Explain the advantages of inheritance.

1145


What is object-oriented programming? Webopedia definition

1259


How can you overcome the diamond problem in inheritance?

1180


Why is object oriented programming so hard?

1080


What is meant by oops concept?

1040


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

6559


what are the realtime excercises in C++?

2836


What are the 4 main oop principles?

1221


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2624


What is multilevel inheritance explain with example?

1145


write knight tour problem which is present in datastructure

2649


Can main method override?

1104


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1924