Well by "overwriting" I was referring to rewriting the Object's memory location. But to have my question answered: reassigning the FOR variable does nothing to the array (although envoking methods on...
Type: Posts; User: aussiemcgr
Well by "overwriting" I was referring to rewriting the Object's memory location. But to have my question answered: reassigning the FOR variable does nothing to the array (although envoking methods on...
Now, that is only true because char is a primitive, right? For Objects, it does refer to the Object, since you can envoke methods on it while inside the while loop that may make changes to the Object...