Search:

Type: Posts; User: jps

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    1,281

    Re: Static methods and variables

    yes, for any number of instances of that class, they all share the same static variable
  2. Replies
    8
    Views
    1,281

    Re: Static methods and variables

    When the method will always be the same across any instance of the class.

    Take a "Temperature" class for example. The conversion from fahrenheit to celsius is always the same.
Results 1 to 2 of 2