How is method overriding different from method overloading

Answer Posted / kirti

When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves

having another method with the same name within the class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the .net framework architecture.

781


How can I tell what .net framework is installed?

705


what is model first approach?

803


How we can call a javascript function on the change of a dropdown list in mvc?

781


What is page life cycle?

694


Can you use Razor code in Javascript in ASP.Net MVC?

863


What is difference between viewbag and viewdata and tempdata?

743


Can we have enum in entity framework?

784


What is the mvc pattern (model view controller pattern)?

763


What is objectcontext? : Entity framework

826


What is .net core framework?

714


What is the difference between model and entity?

700


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

931


What is the use of action filters in an mvc application?

842


What is Dependency Injection in ASP.Net MVC

764