View Single Post
Old Apr 9th, 2006, 8:12 PM   #2
Kaja Fumei
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 134
Rep Power: 4 Kaja Fumei is on a distinguished road
Unlike c#, the "char" type in Java is not the same as its "Character" class. The Character class is a wrapper around the char type. All you need to do is explicitly convert int to char:
aChar = (char) countAscii;
Kaja Fumei is offline   Reply With Quote