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

How many types cache in asp net?

757


What are the ways of preserving data on a Web Form in ASP.NET?

812


Explain cookies with example.

756


What is caching? What are different ways of caching in asp.net?

901


What is the difference between file-based dependency and key-based dependency?

790


What describes a query?

715


What is a proxy in web service?

773


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1715


What are the properties of the eventargs argument when capturing keyboard events?

807


Explain how does asp page work?

768


What is difference cookie and session?

731


What is http post and http get?

739


What are the various session state management options provided by asp.net?

736


What is synchronous and Asynchronous post back ?

854


Can I combine classic asp and asp.net pages?

714