Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How?s method overriding different from overloading?

Answer Posted / porchelvi.a

Overloading Vs. Overriding:
->Overloading is nothing but static binding.
->Overriding is dynamic binding which will be resolved at
run-time.

->Overloading deals with multiple methods in the same
class with the same name but different signatures.
->Overriding deals with two methods, one in a parent class
and one in a child class, which have the same signature.

->Overloading lets you define a similar operation in
different ways for different data.
->Overriding lets you define a similar operation in
different ways for different object types.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is void a class?

809


To whom a method is accesssed if it is marked as protected internal ?

1021


What is difference between static and readonly in c#?

919


What is lock statement in C#?

955


In C#, explain the difference between overloading and overriding.

1041


Is string a data type in c#?

795


Is c# used for frontend or backend?

1000


What are examples of desktop applications?

900


How is lazy loading achieved?

868


How do I open the console?

934


What is cls, cts and clr in net?

853


What is sealed class in c#?

839


Define c# and list the features.

928


Define delegate?

909


What is a event in c#?

832