+ 3
In simple terms when you create a shallow copy then any changes made to the original object will be reflected in the copy object as well but in deep copy it is not. Here is an example. https://code.sololearn.com/cS5v2zjRL6rT/?ref=app
1st Oct 2020, 6:51 AM
Avinesh
Avinesh - avatar