Object Oriented Interview Question Part 1- Benefits Of Inheritance

  • Home
  • Blog
  • Object Oriented Interview Question Part 1- Benefits Of Inheritance

Following are the benefits of the inheritance…

  1. Through inheritance we can eliminate the redundant code and extend the user of the existing classes.
  2. We can build program from the standard working modules that can communicate with the one another rather then having start writing code from beginning.
  3. It is possible to have multiple instances of objects of class without any interface.
  4. It is easy to partion the work.
  5. Object oriented system can be easily upgraded from the small to the large systems.
  6. Easily modifying and extending implementations of components without having to recode everything from scratch.