title: Create an ArrayList with multiple object types?
body: <p>How do I create an <code>ArrayList</code> with integer and string input types? If I create one as:</p>
  
  <pre><code>List&lt;Integer&gt; sections = new ArrayList &lt;Integer&gt;();
  </code></pre>
  
  <p>that will be an <code>Integer</code> type <code>ArrayList</code>. 
  If I create one as:</p>
  
  <pre><code>List&lt;String&gt; sections = new ArrayList &lt;String&gt;();
  </code></pre>
  
  <p>that will be of <code>String</code> type. 
  How can I create an <code>ArrayList</code> which can take both integer and string input types?
  Thank you.</p>