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 / sudhir kumar

The main advantage of the inheritance is that we can acheive
encapsulation because there is early binding in inheritance.
Means our derived class object is already fix to all
appropriate classes functions. And encapsulation is so
because any body do not know that what are the names of base
classes and their information.

And as every one knows Reuseability....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please send ford technologies placement paper 2 my mail id

2057


Can an interface inherit a class?

1009


What is the difference between a mixin and inheritance?

934


2. Give the different notations for the class.\

2079


#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 pointer in oop?

968


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2189


Explain virtual inheritance?

1125


Why is polymorphism important in oop?

1010


What is the real time example of inheritance?

1079


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2259


Who invented oop?

1062


What is and I oop mean?

1107


Can we create object of interface?

1063


What are main features of oop?

1079