title: Difference between generic method and non-generic method
body: <p>What is the difference between these two methods?</p>
  
  <pre><code>public &lt;T extends Serializable, Y extends List&lt;T&gt;&gt; void foo(Y y, T t);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>public void foo(Serializable ser, List&lt;Serializable&gt; list);
  </code></pre>