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
What is persistence in oop?
write knight tour problem which is present in datastructure
Why is encapsulation used?
• What are the desirable attributes for memory managment?
What is overriding in oops?
Can a varargs method be overloaded?
What is inheritance write a program to show use of inheritance?
What is encapsulation in oops?
What are the three main types of variables?
Why multiple inheritance is not allowed?
What is difference between data abstraction and encapsulation?
What is oops with example?
What is object and class in oops?
write a program to find 2^n+1 ?
What is advantage of inheritance?