What is Overriding?

 Posted by Raja on 4/5/2009 | Category: OOPS Interview questions | Views: 20859

Method overriding is a feature that allows to invoke functions (that have the same signatures) and that belong to different classes in the same hierarchy of inheritance using the base class reference. In C# it is done using keywords virtual and overrides .

For more information visit http://www.codeproject.com/KB/cs/cs_methodoverride.aspx

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response