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...
Type: Posts; User: Norm
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...
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...