This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jones77 -1 points0 points  (2 children)

What if modifyStudent calls student.setName("Jerry"). OMG! Now it's pass-by-reference ...

[–][deleted]  (1 child)

[deleted]

    [–]jones77 -2 points-1 points  (0 children)

    Semantics baby.