+ 3
What is difference between function overloading , function overriding and function hiding?
3 odpowiedzi
+ 3
Take a look at this, there are bunch of cool answers
https://www.quora.com/What-is-the-difference-between-function-overriding-and-overloading
+ 1
Check out my cool codes:
https://code.sololearn.com/W27NuqoeDuSO/#html
https://code.sololearn.com/WPH417uKL5GN/#html
https://code.sololearn.com/WXp5dPNP9si6/#html
https://code.sololearn.com/WO6L8rJiiIPT/#html
https://code.sololearn.com/WcHNfqKGhcKa/#html
https://code.sololearn.com/W9tutASF9f6g/#html
https://code.sololearn.com/WBFwdnAdMAFh/#html
https://code.sololearn.com/WVArPUCCrHgq/#html
https://code.sololearn.com/Wsr3wmg6sV23/#html
Please Upvote!
+ 1
Fucntion overloading is something when you have functions with same name but with different type of arguments, in terms of no or in terms of type and then at runtime it on the basis of the arguments it is decided which function is to choose.
Function overriding is generally used in inhertiance in which the declaration of the function is done in the base class, but its definition is given in the sub class or the child class. These both are used in polymorphism.