Search:

Type: Posts; User: Norm

Search: Search took 0.20 seconds.

  1. Re: Getting primitive variable values from another class

    If you have more than one instance of a class and change the value of a variable in one instance, the value will NOT be changed in any other instances,
    UNLESS the variable is static. Then all the...
  2. Re: Getting primitive variable values from another class

    If time is a class variable, when its value changes, the whole class should see the new value.
  3. Re: Getting primitive variable values from another class

    The getter method should be in the class that has the variable whose value is to be returned.
  4. Re: Getting primitive variable values from another class

    Add a getter method in the Menu class that returns the value. Call that method when you want the value.
Results 1 to 4 of 4