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
Please send ford technologies placement paper 2 my mail id
Can an interface inherit a class?
What is the difference between a mixin and inheritance?
2. Give the different notations for the class.\
#include
What is pointer in oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Explain virtual inheritance?
Why is polymorphism important in oop?
What is the real time example of inheritance?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Who invented oop?
What is and I oop mean?
Can we create object of interface?
What are main features of oop?