View Single Post
Old May 23rd, 2006, 3:30 PM   #15
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3 Jimbo is on a distinguished road
IIRC (I didn't read the article so I don't know if it covered this), Java will copy the value of primitives, but then do as you mentioned with Objects. So for the example using ints, changing one will not affect the other.
Jimbo is offline   Reply With Quote