CharArrayWriter close() method in Java with examples
The close() method of the CharArrayWriter class in Java is used to close the current stream. Syntax: public void close() Parameters: This method does not accept any parameter.Return Value: This method closes the current stream. However, it does not release the buffer. Below program illustrate the ab