What are the advantages of inheritance?
Answer Posted / awais zahur
inheritance has two main advantages:
1.extendability
we can extend the already made classes by adding some new
features.
2.maintainability
it is easy to debug a program when divided in parts.
inheritance provides an opportunity to capture the problem
| Is This Answer Correct ? | 80 Yes | 14 No |
Post New Answer View All Answers
What is the oops and benefits of oops programming?
What is polymorphism in oop example?
Why do we use class?
What is an example of genetic polymorphism?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is the importance of oop?
Why do we use class in oops?
What is the diamond problem in inheritance?
What exactly is polymorphism?
What is overloading in oop?
What is use of overloading?
What is difference between inheritance and polymorphism?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is an advantage of polymorphism?
What is abstraction with example?