title: How would you create an array list with mixed booleans and chars?
body: <p>I'm kind of new when it comes to using ArrayList. I know how to create an ArrayList with Strings, I know how to create one with Integers. I'm wondering, how do I create an ArrayList containing two types, such as for instance Doubles and Chars (but nothing else).</p>
  
  <p>This is what I have,</p>
  
  <pre><code>ArrayList&lt;double &amp;&amp; char&gt; DCList = new ArrayList&lt;double &amp;&amp; char&gt;();
  </code></pre>
  
  <p>Obviously it's not valid Java code, so my question is, how do I express it correctly?</p>