Following example demonstrates, how to write data in to
the stream. In the example subclass CharArrayWriter of abstract Writer class
is used to write data in to the underlying character stream. In the example to
write, data class methods are used. With flush() method the data on
the stream is flowed.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial