Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  
 

what is the use of clone() in real time scenario?

Ads

 
 

Share on Google+Share on Google+

himanshujat
what is the use of clone() in real time scenario?
1 Answer(s)      6 years and 8 months ago
Posted in : Java Interview Questions

what is the use of clone() in real time scenario?

Ads
View Answers

December 16, 2010 at 3:40 PM


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