Tagged “Shallow 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.

Tags:

See all tags.