0 votes
by (876 points)

1 Answer

0 votes
by (1.6k points)

a deep copy constructs a new compound object and then inserts copies into it of the objects found in the original whereas the shallow copy inserts references into it to the objects found in the original.

...