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
what is graphics
What is inheritance in oop?
What is super in oop?
Why is polymorphism used?
Prepare me a program for the animation of train
What is abstraction in oop?
What is byval and byref? What are differences between them?
What does and I oop mean in text?
What is the difference between encapsulation and polymorphism?
can inline function declare in private part of class?
What are properties in oop?
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 polymorphism and its types?
Are polymorphisms mutations?
What is the important feature of inheritance?