title: Reference to an element of an ArrayList
body: <p>I try to get a reference to an element of an ArrayList but I fail.</p>
  
  <pre><code>ArrayList&lt;String&gt; test = new ArrayList&lt;String&gt;();
  
  test.add("zero");
  test.add("one");
  test.add("two");
  
   String s1 = test.get(1);
   String s2 = test.get(1);
  
   System.out.println(test.get(1) +" " + s1 + " " + s2);
  
   s1 += " modificated";
  
   System.out.println(test.get(1) +" " + s1 + " " + s2);
  </code></pre>
  
  <p>Any suggestions?</p>