00:01
This question asks us what function overloading is.
00:03
So function overloading.
00:08
So what is function overloading? this is a feature in object -oriented programming where two or more functions can have the same name, but they'll have different parameters.
00:31
The two or more functions, they'll have the same name, but they'll have different parameters.
00:35
And when a function name is overloaded with different jobs, this is called function overloading.
00:40
When we have two or more of these.
00:42
So in function overloading, obviously the function name has to be the same.
00:46
The arguments should be different.
00:49
And it can be considered an example of polymorphism.
00:56
So it's like a feature in c++.
01:05
So eventually, then the second part of the question is, how can we implement more than one function in the program with the same name? and so let me give an example of how we can do this...