title: What does return object means in Java
body: <p>I know that java is return by value not by reference, so it makes a copy of the object and passes the new copy. Is this is the case with the return statements also?
  Does the </p>
  
  <pre><code>return obj;
  </code></pre>
  
  <p>creates a new object copy or simply returns the current object itself.</p>