title: Creating a new ArrayList
body: <p>i have a question about creating a new array list.</p>
  
  <p>If i create a new one, with </p>
  
  <pre><code>ArrayList &lt;?&gt; listtwo = new ArrayList&lt;?&gt;();
  </code></pre>
  
  <p>What can i put into the array? Can i put Strings and Integers in it?
  Or how does this work.</p>
  
  <p>I know that if you create an list like :</p>
  
  <pre><code>ArrayList&lt;String&gt; list =new ArrayList&lt;String&gt;(); 
  </code></pre>
  
  <p>that you can only put <code>Strings</code> in it. and if u try to do something else it gives a compile exception.</p>