Passing variables into methods
If the variable passed is a primitive, only a copy of the variable is actually passed to the method. So modifying the variable within the method has no effect on the actual variable.
Views: 962 | | by Slicer
View this tutorial