title: ArrayList and modifying objects included in it
body: <p>Say we have an ArrayList myArray. I want to modify an object by calling its function. If I do it this way, will the original object be changed or not?</p>
  
  <pre><code>myArray.get(0).myModyfyingFunction();
  </code></pre>
  
  <p>To clarify further - I am concerned if get() actually returns a reference to my original object or does it only return a copy of my original object.</p>