You can only add Objects to Collections, not primitive types.
So you need to use the wrapper class for the char type, which is the Character class.
You can also use the syntax ArrayList<char[]>, but this means an ArrayList of char arrays, so that's why you are getting this message.
Regards,
Juliano
Message was edited by:
JulianoAlberto
Generic type parameters can't be primitive types, meaning that you can have List<Integer> but not List<int>. In your case you *could* use the wrapper type Character:
List<Character> list = new ArrayList<Character>();
*However*, you haven't told us why you think you *need* a list of characters. Have you considered StringBuffer/StringBuilder instead?