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 are the advantages of inheritance?

Answer Posted / krish

fine all the above answers saying inheritance is mainly used to reusing the code so development time reduses.ok fine

to reuse the already created class we can use reference of that class directly. then why we go for the inheritance?.

i think by using object references complexity will increases.It creates confusion to users.
and by creating reference another object is created. so memory wastage here.

i don't know exactly .....If there r any answers please post.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in oops?

1018


How do you define social class?

1078


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3536


What is static modifier?

1234


What are the three parts of a simple empty class?

2056


What makes a language oop?

1073


What is overriding vs overloading?

1069


What is property in oops?

1071


What is abstraction and encapsulation?

1022


What is solid in oops?

1135


What is the renewal class?

2763


Why do we use polymorphism in oops?

1059


How many human genes are polymorphic?

1069


Why is oop useful?

1117


Why oops is important?

1130