title: Does a List object get passed by reference?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/40480/is-java-pass-by-reference">Is Java pass-by-reference?</a>  </p>
  </blockquote>
  
  
  
  <p>Does a <code>List</code> object get passed by reference? In other words, if I pass an <code>ArrayList (java.util.ArrayList)</code> object to a class, will it be automatically updated when I change it?</p>