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

What are the difference between dispose(), close(), exit(), end()? When do we use them?

1027


Explain about delegate?

897


What do you mean by serialization and deserialization?

924


What do you mean by serialization?

968


Explain and brief about rapid application development tool?

1006


write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.

1626


What is a preprocessor directive in vb.net?

984


Explain the difference between vb.net and c#, related to oops concepts?

929


Can you please explain the difference between thread and process?

980


What is DLL HELL in VB.NET

1020


What are the features present in vb 2005?

1024


What is trace in vb.net?

1012


Explain the difference between import system.data.sqlclient and system.data.oledb?

1003


what is difference between namespace and assembly?

1085


Explain enumerator?

906