title: Java Generics WildCard: <? extends Number> vs <T extends Number>
body: <p>What is the difference between these 2 functions?</p>
  
  <pre><code>static void gPrint(List&lt;? extends Number&gt; l) {
      for (Number n : l) {
          System.out.println(n);
      }
  }
  
  static &lt;T extends Number&gt; void gPrintA(List&lt;T&gt; l) {
      for (Number n : l) {
          System.out.println(n);
      }
  }
  </code></pre>
  
  <p>I see the same output.</p>