What are the advantages of inheritance?
Answer Posted / hamid
Features or Advantages of Inheritance:
---Reusability:
Inheritance helps the code to be reused in many
situations. The base class is defined and once it is
compiled, it need not be reworked. Using the concept of
inheritance, the programmer can create as many derived
classes from the base class as needed while adding specific
features to each derived class as needed.
---Saves Time and Effort:
The above concept of reusability achieved by inheritance
saves the programmer time and effort. Since the main code
written can be reused in various situations as needed.
---Increases Program Structure which results in greater
reliability.
www.hamidraza.page.tl
| Is This Answer Correct ? | 121 Yes | 12 No |
Post New Answer View All Answers
What is the benefit of oop?
What is meant by oops concept?
What is balance factor?
What is overloading in oops?
How does polymorphism work?
What are the components of marker interface?
What is the purpose of polymorphism?
Which language is pure oop?
What is data binding in oops?
Whats is abstraction in oops?
2. Give the different notations for the class.\
Is oop better than procedural?
What is pure oop?
What is encapsulation selenium?
Why do we use oop?