Thursday, September 18, 2008

advantages of inheritance in c++ programming language

What are the advantages of inheritance? 

Answer:-

It permits code reusability. Reusability saves time in program development. It encourages the reuse of proven and debugged high-quality software, thus reducing problem after a system becomes functional.


What are the advantages of inheritance?
• It permits code reusability.
• Reusability saves time in program development.
• It encourages the reuse of proven and debugged high-quality software, thus reducing problem after a system becomes functional.

What do you mean by inheritance?


Inheritance is the process of creating new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class, but can add embellishments and refinements of its own.

No comments:

Post a Comment

Thanks to given comments.......

My Blog List