In answer to your questions:
- What does in.read() do? This opens the apple.txt document and reads the contents.
- What does the line "sb.reverse().toString()" do? This reverses the first line of the document. Not exactly what I want, but if I can reverse the first line, it would be a minor success. I thought if I placed it after the in.read command it would store the reverse in the buffer and then use the next line to write it to the output file.
- What are you writing to the output file in the line "out.write(c)"? The contents of the apple.txt document