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 use of overloading?
What is the point of polymorphism?
What is destructor oops?
Can a varargs method be overloaded?
What is overloading and its types?
What is oops with example?
How to hide the base class functionality in Inheritance?
What are classes oop?
What is a superclass in oop?
Which language is not a true object oriented programming language?
What are the benefits of interface?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is the advantage of oop over procedural language?
What is polymorphism and its types?
What do you mean by abstraction?