A good answer might be:

Sure. It is a text file.

Character Set Transformation

The file "reaper.txt" will be an ordinary ASCII text file, with one byte per character. Character strings inside a Java program are two bytes per character. A Writer stream translates between the internal format and the external, disk file format.

As mentioned in the previous chapter, the disk file uses UTF ("Universal character set Transformation Format") which is identical to 8-bit ASCII format for the common characters of English. In the US, text files are usually ASCII (and therefore also UTF).


What do you suppose closing a file does?