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).
This is what I have,
ArrayList<double && char> DCList = new ArrayList<double && char>();
Obviously it's not valid Java code, so my question is, how do I express it correctly?