Interview Questions

Can you explain what inheritance is and an example of when you might use it?

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

Can you explain what inheritance is and an example of when you might use it?

Inheritance is a fundamental feature of an object oriented system and it is simply the ability to inherit data and functionality from a parent object. Rather than developing new objects from scratch, new code can be based on the work of other programmers, adding only new features that are needed.

(Continued on next question...)

Other Interview Questions