What does it write to the file?

To have String data be on separate lines in the output file, you need to write a lineend character(\n) at the end of each line. The println() method will do it for...