what is the use of clone() in real time scenario?
Hi Friend,
Clone() method is used to create and return copy of the object.
For more information, visit the following links:
http://www.roseindia.net/java/java-get-example/java-clone-method.shtml
http://www.roseindia.net/tutorial/java/collections/arraylist/clone.html
Thanks
Ads