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

Explain the static member function.

1194


What is the difference between structure and class?

1282


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1084


What is the difference between set and map in c++?

1136


Explain function overloading and operator overloading.

1083


Eplain extern keyword?

1032


Can I run c program in turbo c++?

1038


How does java differ from c and c++?

1004


What is a friend function in c++?

1648


why and when we can declar member fuction as a private in the class?

2079


What do you mean by volatile and mutable keywords used in c++?

991


Explain the difference between overloading and overriding?

1146


Does c++ support exception handling?

1070


Can you declare an array without a size in c++?

1020


Why cstdlib is used in c++?

1046