Tell me Asp.net Method Overriding.

Answer Posted / snehalata

Method overriding means having a different implementation
of the same method in the inherited class. These two
methods would have the same signature, but different
implementation. One of these would exist in the base class
and another in the derived class. These cannot exist in the
same class.



Overriding methods

Overriding method definitions

In a derived class, if you include a method definition that
has the same name and exactly the same number and types of
parameters as a method already defined in the base class,
this new definition replaces the old definition of the
method.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is viewstate parameter?

526


What is viewstategenerator?

703


How is it possible for .NET to support many languages?

308


Explain what does mvc represent in asp.net? : asp.net mvc

505


What should you do is you want to remove an existing component but would like to make some funtionalities?

1483






What is use of Master Page in ASP.NET web pages?

628


Can asp.net work on an nt server?

558


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1674


When should I use server transfer and response redirect?

517


Explain the difference between asp and asp.net?

514


What are the new data controls in asp.net 2.0?

526


Should I delete cookies?

501


A Web Service Can Only Be Written In .net. Is it True??

644


Explain what is viewstate?

549


What is difference between viewstate and session state in javascript?

581