how time changes the value of an object
Answers
Answered by
1
When you pass a reference type as an argument (which includes a list), you pass a copy of the reference to that object. This means you can change your object attributes, but can't change the object itself.
Similar questions