Question: what is the difference between the reader and writer classes?
Answer: The Reader and Writer classes and their subclasses are used for dealing with data in text format. While the Writer class contains methods that are identical to those available in OutputStream class, the Reader class contains methods that are identical to those available in InputStream class.