You need to sign in to do that
Don't have an account?
Dan Lambeth 31
does the standard add() method on a list structure make a new copy of the added item or just store a reference to the item?
this specifically refers to a List of objects, such as account.
Consider this code example - (run it in dev console as anonymous)
if the account that is added is a copy, the lines where we reset the billing city for the initial record that was instantiated, it would stay null
regards
Andrew