title: java generics bounds type
body: <p>Are following two signatures same?</p>
  
  
  
  <pre><code>public static &lt;T&gt; void work(Class&lt;T&gt; type, T instance);
  </code></pre>
  
  <p>and</p>
  
  
  
  <pre><code>public static &lt;T, S extends T&gt; void work(Class&lt;T&gt; type, S instance);
  </code></pre>