Shallow copy is also called as address copy. In shallow copy address are copied but not actual data while in deep copy data are copied.
Shallow copy is also called as address copy. In shallow copy address are copied but not actual data while in deep copy data are copied.