title: Generics Declaration differences in Java
body: <pre><code> List&lt;String&gt; v = new ArrayList&lt;String&gt;();
  </code></pre>
  
  <p>I understand the generics helps you declare that the ArrayList() has Objects of type String. My question is 
  how is the following one different from the above?</p>
  
  <pre><code> List&lt;String&gt; v = new ArrayList();
  </code></pre>
  
  <p>or the one below different from others</p>
  
  <pre><code>List v = new ArrayList&lt;String&gt;();
  </code></pre>