Shallo and Deep Capy
Shallo and Deep Capy
Deep Copy
Depend on Reference Type
by Arwa Alaa
Object Hint
by Arwa Alaa
Shallow Copy
by Arwa Alaa
Deep Copy
Deep Copy use Clone Method that return object so we need make
explicit casting to get type needed .
Clone method will generate new object in heap with new and
different Identity but with the same object state (data) of caller object
by Arwa Alaa
Deep Copy
Deep Copy Use Clone Arr2 Identity Changed And Take state(data)
Method from Arr1 in new created object at heap
by Arwa Alaa