title: Can a Java Generic Using a Bound Parameter be Instantiated with its Upper Bound?
body: <p>For example:</p>
  
  <pre><code>class MyClass&lt;T extends MyClass2&gt; {
      // Do stuff...
  } 
  </code></pre>
  
  <p>Then later:</p>
  
  <pre><code>MyClass&lt;MyClass2&gt; myClass = new MyClass&lt;MyClass2&gt;();
  </code></pre>
  
  <p>Does this work?  My coworker's hunch is no, but I can't find anything to confirm that for me and the documentation suggests perhaps.</p>