title: How to initialize Class<? extends MyClass>
body: <p>I have an abstract method</p>
  
  <pre><code>public abstract Class&lt;? extends MyClass&gt; getMySpecialClass();
  </code></pre>
  
  <p>In another method I'd like to have an instant of this class. How would I do this?</p>
  
  <pre><code>public void method(){
     Class&lt;? extends MyClass&gt; mySpecialClass = getMySpecialClass();
     MyClass myClass = new ???
  }
  </code></pre>