Shallow Copy Vs Deep Copy
Shallow Copy
When you create a new object by copying an entity from another object, you're typically copying a reference or a memory address where the data is stored, rather than copying the actual data or value.
It is safe to create a shallow copy o...
vishalkumarsingh.hashnode.dev3 min read