File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

deep cloning

 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,


How achieve deep cloning in java? Is it in deep cloning , we have implement the cloneable interface and override clone() method ?then,
what is difference between deep cloning and shallow cloning .when in both cases we have to implement the Cloneable interface and override clone() method?I am really confused with
shallow and deep cloning in java ....


Thanks in advance
 
Paul Clapham
Sheriff
Pie
Posts: 20184
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
It seems to me that this other post of yours -- http://www.coderanch.com/t/593607/java/java/shallow-cloning -- covers the topic quite well. So if you still have questions, I would recommend continuing with that thread.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic