Search:

Type: Posts; User: tcstcs

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    1,415

    Re: When to use static methods?

    Are there any other reasons as when to use static method vs when not to use. does static method takes more memory?
  2. Replies
    2
    Views
    1,415

    When to use static methods?

    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
    {
    ...
Results 1 to 2 of 2