Java ArrayList Syntax Error

Viewed 32532

I'm getting an error when declaring this ArrayList as an instance variable in Java.

private ArrayList<char> correctGuesses = new ArrayList<char>();

The error:

Syntax error on token char, Dimension expected after this token

Can I not make ArrayLists with type char?

3 Answers
Related