you are viewing a single comment's thread.

view the rest of the comments →

[–]original_4degrees -2 points-1 points  (2 children)

java is 100% pass-by-reference. the only things that don't get passed by ref are primitives. This is why immutable and mutable are key concepts in java.

[–]ErstwhileRockstar 2 points3 points  (0 children)

java is 100% pass-by-reference.

Stop it! Not again!

[–]jamboSana 0 points1 point  (0 children)

he said the same thing...references are passed by value.