title: Java generic method declaration
body: <p>I'm learning Java generics and I ask myself this question.</p>
  
  <p>What is the difference between these two method declarations?</p>
  
  <pre><code>public static void someMethod(List&lt;? extends Number&gt; numberList);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>public static &lt;E extends Number&gt; void someMethod(List&lt;E&gt; numberList);
  </code></pre>