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...

What is the Difference between Overriding and overloading?

Answer Posted / sudesh sangwan

overriding:in overriding is done in inheritance,we having same method name as in base class and having same signature.
it is resolved at run time.
overloading:
in overloading we have many method with same name but different parameter.
it is resolved at compile time.
eg:
int add(int a,int b)
int add(float a,float b)
int add (string a,string b)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of vb.net?

1015


Compare c# and visual basic.net?

1023


Can you please explain the difference between authentication and authorization?

1075


What is code security?

1128


Described strong typing

1013


Name some of the features present in vb 2005?

1014


What are option strict and option explicit?

1428


What is the use of assembly?

1061


Why is the xml infoset specification different from the xml dom?

990


Explain what observations between vb.net and vc#.net?

1022


What’s the difference between private and shared assembly?

1179


What is strong typing and weak typing?

1059


What are the different types of a stream?

1062


What is strong name in .net assembly?

1037


Define cls?

1066