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 / haneet kaur

1. Reuse of existing code and program functionality: the program does not have to write and re-write the same code for logically same problem.
2. Less labour intensive: the programmers do not have to rewrite the same long similar program just because the application to be developed has slightly different requirements.
3. Well organised. the object are well organised in a way that they follow some hierarchy.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is there no multiple inheritance?

953


Can we define a class within the interface?

987


When not to use object oriented programming?

1020


What is polymorphism and example?

980


Which is better struts or spring?

988


can inline function declare in private part of class?

4303


What is a class oop?

956


Are polymorphisms mutations?

1108


What is static modifier?

1127


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

2562


What is overriding in oops?

1057


What is encapsulation oop?

994


How is class defined?

1071


Why we use classes in oop?

977


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2549