I am writing a file writer that writes an ID and name, both of String to a text file. This asks for user input then stored the data in a txt file. But when I run this again any new data overrides the previous, therefore the data never save to a txt file.
Could anyone tell me how I would save this data so that any new data added is stored on the next line and not override the previous?
Thanks