Java Cloning - deep copy and shallow copy
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/2657810/deep-copy-vs-shallow-copy">Deep copy vs Shallow Copy</a><br>
  <a href="http://stackoverflow.com/questions/1175620/in-java-what-is-a-shallow-copy">In Java, what is a shallow copy?</a><br>
  <a href="http://stackoverflow.com/questions/184710/what-is-the-difference-between-a-deep-copy-and-a-shallow-copy">What is the difference between a deep copy and a shallow copy?</a>  </p>
</blockquote>



<p>Can you please tell me what does it mean by cloning in java? what is deep copy and shallow copy, please explain with examples</p>
