Tagged “Shallow Cloning v/s Deep Cloning”

Object Cloning in Java

09 Dec, 2014

Object cloning is the process of creating exact copy of the given object. There are two pre-requisite in java; 1) implement Cloneable interface and 2) override the clone() method defined in the java.lang.Object class.


See all tags.