Append, Find and Filter
Good day guys!
I was able to create a file and produce the following output:
1 8:00 17:00 Mon
1 8:00 17:00 Tue
1 8:00 17:00 Wed
1 8:00 17:00 Thu
1 8:00 17:00 Fri
But every time i run the program it overwrites the contents of the existing text file... How can i add an append to the text file?
Lets say i have added 2 8:30 17:00 Mon, what should i do?
Thank you very much!
Go to the Java API and see what constructors are available for the FileWriter class.
Thanks but im using BufferedWriter... is it the same?