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

Difference between Overloading and Overriding?

Answer Posted / ranjana chakraborty

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, that 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 ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1161


Why c++ is created?

1006


What do you mean by vtable and vptr in c++?

1043


When do you call copy constructors?

1147


Please explain class & object in c++?

1095


What is a set in c++?

977


Show the application of a dynamic array with the help of an example.

1140


What does override mean in c++?

1066


When is dynamic checking necessary?

1113


When one must use recursion function? Mention what happens when recursion functions are declared inline?

1192


What is meant by the term name mangling in c++?

961


which operator is used for performing an exponential operation a) > b) ^ c) none

1064


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1078


What is a singleton c++?

1006


How do I start a c++ project?

1080