title: Creating class instances stored in a list
body: <p>So first I make an <code>ArrayList</code>. (<code>?</code> means that I don't know what should be there, keep reading)</p>
  
  <pre><code>ArrayList&lt;?&gt; arrayList = new ArrayList&lt;?&gt;();
  </code></pre>
  
  <p>So this will store class name of abstract class <code>Class</code>, so for example it might stores <code>ExtendedClass1</code> or <code>ClassExtended2</code>.</p>
  
  <p>Later I iterate through that <code>ArrayList</code> and create new objects with the name stored in <code>arraylist</code></p>
  
  <pre><code>for (int i = 0; i &lt; arrayList.size(); i++) {
      new arrayList.get(i); // Takes the class name and makes new object out of it
  }
  </code></pre>
  
  <p>How can I actually do it?</p>