title: Class has two type paramters both have a upper bound of string and number: Java
body: <blockquote>
    <p>Write the header for a generic class named MyType. The class should
    have two type parameters. The first type parameter’s upper bound
    should be the Number class. The second type parameter’s upper bound
    should be the String class.</p>
  </blockquote>
  
  <p>Would look something like this correct?</p>
  
  <pre><code>public class MyType&lt;T extends Number&gt; {}
  </code></pre>
  
  <p>How would I go about getting the second type parameter as a upper bound? Could I just do extends Number extends String?</p>