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.
239 questions
203 answers
2 comments
692 users