Pass by Value
Pass By Value
Parameters are pass by value, meaning the argument's value is copied into a local variable for the parameter. This duplication is expensive with large items like Vector.
Parameters are pass by value, meaning the argument's value is copied into a local variable for the parameter. This duplication is expensive with large items like Vector.