What’s the difference?
l
A shallow copy
shares
nested objects
with the original class object
l
l
A deep copy
makes its own copy
of
nested objects at different locations
than in the original class object