When reading and writing text files :
it is almost always a good idea to use buffering (default size is 8K)
it is often possible to use references to abstract base classes, instead of references to specific concrete classes
there is always a need to pay attention to exceptions (in particular, IOException and FileNotFoundException)
The close method :
always needs […]















