How?s method overriding different from overloading?

Answer Posted / venu gopal

When overriding, you change the method behavior for a
derived class. Overloading simply involves having a method
with the same name within the class.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .edmx file?

699


What is the difference between finalize() and dispose() methods?

744


Can a class be private in c#?

689


What are custom exceptions? Why do we need them?

702


What does question mark mean in c#?

772


How to assign Null value to Var?

738


Can you drink alcohol with a loop recorder?

683


Can you instantiate a struct without using a new operator in c#?

728


list the steps in code compilation in c#?

646


What is difference between function and method in c#?

626


Is Facebook a desktop application?

654


When would you use generics in your code c#?

668


What is an enumerator in c#?

710


What is the difference between int.parse and int.tryparse methods?

740


What is default access modifier for class in c#?

664