File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Where exactly we make use of Clone objects in a real time? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Where exactly we make use of Clone objects in a real time?" Watch "Where exactly we make use of Clone objects in a real time?" New topic
Author

Where exactly we make use of Clone objects in a real time?

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

Please let me know ,Where exactly we make use of Clone objects in a real time?

Actually my question is , as memory is so cheap these days does anywhere Cloneable interface facility is used in any Application these days ??

Thanks in advance.


Save India From Corruption - Anna Hazare.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

to make a Defensive copy of an Object which is Mutable. But Copy Constructor is preferable Over Cloneable [ for more detail please read Effective Java-Joshua Bloch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where exactly we make use of Clone objects in a real time?
 
Similar Threads
I have some vague concept about Cloneable....
about clone
Clone()
what are sockets?
When and why to use Cloneable interface in java?