Object that has to be Copied:

Shallow Copy: Reference to objects being copied are only modified in shallow copy.
Deep Copy: A separate copy of object is made,instead of only reference.
Object that has to be Copied:
Shallow Copy: Reference to objects being copied are only modified in shallow copy.
Deep Copy: A separate copy of object is made,instead of only reference.