what is the difference between Function overloading and function overriding
is happened when we call a function and give it a parameters more than the parameters that it takes, ex: a function x has 1 parameter of type int, if we call it and give it 2 parameters then its overloading, also if we call it and give it 1 parameter of a data type not int then its also an overloading.
Its when we rewrite the function in the sub class.
total answers (1)
start bookmarking useful questions and collections and save it into your
own study-lists, login now to start creating your own collections.