Home > DeveloperSection > Interviews > What are the advantages of inheritance?

Posted on    January-15-2015 10:17 PM

 .NET C# 
 1 Answer(s)
  714  View(s)
Rate this:

Ankit Singh

Total Post:15

Posted on    January-15-2015 11:17 PM

Advantage of inheritance

  • It Allows the code to be reused as many times as needed. 
  • The base class once defined and once it is compiled, it need not be reworked.
  • Saves time and effort as the main code need not be written again.
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.

Modified On Mar-28-2016 04:16:25 AM

Don't want to miss updates? Please click the below button!

Follow MindStick