New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Can we overload a function with the help of its return type?
3 Answers
+ 1
The return type is not part of the check for uniqueness. The parameter combination must be unique.
0
Type or number of parameters has to be changed as well.