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 / parul.kataria007@gmail.com

by inheritance,we can create a link b/w the inherited class....

such that if we inherit class B from an existing class A and C from B,then we can use A and C together by inheritance... ennie

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use polymorphism in oops?

981


What is overloading in oop?

958


What is persistence in oop?

1094


Can a varargs method be overloaded?

1037


i got a backdoor offer in process global,Bangalore..Can i work with it?

2790


How do you achieve polymorphism?

1036


Why multiple inheritance is not possible?

1016


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2563


What is encapsulation with example?

1022


what are the different types of qualifier in java?

2216


Can we have inheritance without polymorphism?

971


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4676


What is encapsulation in simple terms?

974


What is abstract class in oops?

973


Why we use classes in oop?

976