Home Segments Index Top Previous Next

126: Sidetrip

Although parameter values are fenced, changes to the internal structure of a parameter value do propagate outside. If, for example, the value of a parameter is an array, and you change the value of an array element inside a method, then the change to the value of the array element persists after the method returns.