Is it possible to convert an arraylist of chars to an array? For example:
ArrayList<Character> array = new ArrayList<Character>();
Can this be converted to an array of chars. I have tried using the toArray method but it is not working. Does anyone have any suggestions?