On slide 32 you say that in Java object data types are passed by reference. 
I think this is incorrect as in this case also a copy of reference is 
created and this copy is passed to the method but since this copy is 
referring to original object, the object's value can be changed, since new 
and old reference point to the same object, but still a copy of old 
reference was created and this copied was passed so I think Java passes by 
value only.
http://stackoverflow.com/questions/40480/is-java-pass-by-reference

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to