Are there any other reasons as when to use static method vs when not to use. does static method takes more memory?
Type: Posts; User: tcstcs
Are there any other reasons as when to use static method vs when not to use. does static method takes more memory?
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
{
...