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

How do you define a class in c++?

1037


Program to check whether a word is a sub-string or not of a string typed

1988


Describe the advantages of operator overloading?

995


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1962


Where can I run c++ program?

1020


What is the prototype of printf function?

1125


Is recursion allowed in inline functions?

1044


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

1024


What is recursion?

1961


What is a list c++?

1081


Write about the local class and mention its use?

1022


What do the keywords volatile and mean mutable?

1013


Explain the difference between struct and class in terms of access modifier.

1143


what is the difference between overloading & overriding? give example.

1114


Explain the different access specifiers for the class member in c++.

954