Java is actually pass-by-value for all variables running within a single
VM. Pass-by-value means pass-by-variable-value. And that means, pass-by-copy-ofthe-
variable!
VM. Pass-by-value means pass-by-variable-value. And that means, pass-by-copy-ofthe-
variable!