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

In howmany ways can you deploy an assembly?

625


What are the variables in c#?

598


What is tochararray in c#?

538


Is it possible to have different access modifiers on the get/set methods of a property?

581


What is the use of expression tree in c#?

549






How does split work in c#?

581


What is executescalar in c#?

538


What are synchronous and asynchronous operations?

565


Why linq is having select clause at the end?

605


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

646


Explain about CTS?

626


What is a generic in c#?

579


What are the problem with .NET generics?

637


Explain manifest in c#.

608


If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.

638