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

hirerical means that is a tree like

for e.g

class A
{
//some data and methods
};

class B:class A

{
//some data and methods

};

class C:class B
{

//some data and methods
};

and hirerical inheritance is that inheritance which is a
tree like

grandfather
^
|
father
^
|
son

;)

Is This Answer Correct ?    38 Yes 83 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the types of inheritance?

1099


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6938


write string class as your own class in java without using any built-in function

2507


What is static modifier?

1234


Why do we need polymorphism in c#?

1180


why reinterpret cast is considered dangerous?

2397


Why do we use polymorphism in oops?

1059


Write a program to sort the number with different sorts in one program ??

2379


How to hide the base class functionality in Inheritance?

1144


Can enum be null?

1027


What is difference between abstraction and encapsulation?

1087


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1955


What is an advantage of polymorphism?

1097


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2617


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2161