Prototype Design pattern
Prototype Design pattern
-Vinoth S P
Java clone
• Deep clone is the desired behavior in most the cases. In the deep
copy, we create a clone which is independent of original object and
making changes in the cloned object should not affect original
object.