Closing I/O streams
What will be the problem if I do not close an I/O Stream. Say I have a FileOutputStream object "out" to write to a file. After I finish writing, I do not close the stream by calling out.close(). What will be the specific problem for this? Similarly what will be the problem if i do not close an input stream after reading from a file or any other source? Also what is the difference between not closing a file i/o stream and not closing a stream obtained from socket?

