Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

creating an arraylist of char?? how to do this

807606Feb 9 2007 — edited Feb 9 2007
I tried to do this:

ArrayList<char> list = new ArrayList<char>();

but it won't work, instead it gives me an error of:
syntax error on token char; dimensions expected after this token
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2007
Added on Feb 9 2007
2 comments
2,389 views