What is inheritance hierarchy?

 Posted by Allemahesh on 7/23/2013 | Category: C# Interview questions | Views: 2020 | Points: 40

1. The class which derives functionality from a base class is called a derived class.
2. A derived class can also act as a base class for another class.
3. Thus it is possible to create a tree-like structure that illustrates the relationship between all related classes.
4. This structure is known as the inheritance hierarchy.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response