JDK 1.1 introduces two new classes
CharArrayWriter, which are similar to
ByteArrayOutputStreambut work with characters instead of bytes. Generally speaking, it is best to use the new character-stream classes.
Also, most JDK 1.1 programmers should probably use
StringReaderinstead of using
Finaly, JDK 1.1 introduces the new
StringWriterclass for which there is no