Re: When should I use clone() method of Object class in Java?
Tuesday, April 24, 2007 04:36 AM
Cloning of an object to avoid creation. If the cost of
creating a new object is large and creation is resource intensive, we clone the object. We use the interface Cloneable and call its method clone() to clone the object.
see the below link for more information.