Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    744

    Re: Changing from Public to private

    Use a getter method to access the value of variable.
    Use a setter method to set the value of the variable.

    See the ReactionAgent class.
    It has a getFactor method
    and a setFactor method.

    An...
  2. Replies
    3
    Views
    744

    Re: Changing from Public to private

    Can you use getter and setter methods to allow access to the value in the variable?

    Please edit your post and wrap your code with code tags:



    **YOUR CODE GOES HERE**


    to get highlighting...
Results 1 to 2 of 2