Hi All,
I have gone through several interviews last month, and one of the question on which i need clarification is overloading.
Can anyone please let me know, while we move ahead with the concept of Method Overloading is it mandatory to look after the return type of methods.
Say i have 2 methods in a class:
public int Addtion(int a, int b)
{
return a+b;
}
public void Addition(int a, int b)
{
}
Are these two methods will be considered as overloading as well?
i appreciate any inputs.
Thank You
Anil Kumar Murmu