Package java.io
Class CharArrayWriter
Description:
This method converts the input data to a string.
Example
char[] ch = {'H','E','L','L','O'};
CharArrayWriter caw = new CharArrayWriter();
caw.write(ch);
Console.println(caw.toString());
The toString method returns a string copy of the input data.