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 xaml file in c#?

526


Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?

502


What is datatable and dataset in c#?

474


What is executenonquery c#?

459


What is the difference between gettype and typeof in c#?

447






How to declare a property in a class?

541


How does return work in c#?

497


What is namespace give the example?

456


What is IL / CIL / MSIL?

651


Why do we need interface in c#?

494


Enlist some of the properties of a thread class?

507


Explain async and await?

528


Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).

470


What are the different types of classes?

469


What is constructors, explain with syntax

536