title: Creating a new ArrayList in Java
body: <p>Assuming that I have a class named <code>Class</code>,</p>
  
  <p>And I would like to make a new ArrayList that it's values will be of type <code>Class</code>.</p>
  
  <p>My question is that: How do I do that?</p>
  
  <p>I can't understand from Java Api.</p>
  
  <p>I tried this:</p>
  
  <pre><code>ArrayList&lt;Class&gt; myArray= new ArrayList ArrayList&lt;Class&gt;;
  </code></pre>