Function overloading is a feature in c++.
Probably Java also has this feature
c++ allows you to specify more than one function with same function names.
And that's called function overloading.
One thing to aware, all the functions overloaded should have same return data type.
The thing can differ is the arguments on the function.
The following example was wrote during the game programming class.
Note that the return data type is same on all functions overloaded.