I am aware that we use static method when its behaviour is same irrespective of how many objects gets instantiated from same class.Suppose if i have a class Test with method add
Class Test
{
public int add(int a, int b)
{
return a+b;
}
}
For the above example is it good to use static keyword or not? Can someone explain me with good reasoning.