posted 21 years ago
When you close a stream, you release the system resources associated with the stream.
Moreover, close() method cause a flushing of the stream. If you do not flush the stream you can not be sure the stream is empty and all the data has been transfered.
As a good practice: close everything you open.
HTH