-1

If I have methods like this int Add(int a,int b) float Add(float a,float b)

This is method overloading or not?

0

1 Answer 1

0

Yes, it is overloaded because the method names are the same.

You can refer to the definition here. https://en.wikipedia.org/wiki/Function_overloading

Not the answer you're looking for? Browse other questions tagged or ask your own question.