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
Why is object oriented programming so hard?
What is the point of oop?
What is constructor in oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
How to hide the base class functionality in Inheritance?
Is data hiding and abstraction same?
Is this job good for future? can do this job post grduate student?
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
What does sksksk mean in text slang?
What is a class in oop?
What is the difference between a constructor and a destructor?
What is overriding in oop?
explain sub-type and sub class? atleast u have differ it into 4 points?
Why do we use class?
What is meant by oops concept?