title: Is clone() in java shallow copy?
body: <p>Is <code>clone()</code> in java a shallow copy?</p>
  
  <blockquote>
    <p>Eventually this gets to the clone()
    method of Object (the uppermost
    class), which creates a new instance
    of the same class as the object and
    copies all the fields to the new
    instance (a "shallow copy").</p>
  </blockquote>
  
  <p>I read this from <a href="http://en.wikipedia.org/wiki/Object_copy" rel="noreferrer">wikipedia</a>.</p>
  
  <p>I don't understand why it is a shallow copy. <code>clone()</code> will create a new instance with all fields. Is this just a deep copy? confused. Need some explanation for me.</p>