Shallow Cloning |
Deep Cloning |
1. It is a default cloning and can be done by using clone() method. |
1.It is done by the user itself by writing the code for the deep cloning.
|
2. Shallow cloning fails to clone object members.
|
2. Using deep cloning we can able to clone object member also . |
Tuesday, 3 December 2013
Difference between Shallow and Deep Cloning
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment