I trying to write into the txt file. But with out losing the data that is already stored in the file.
But my problem that when I put string in the txt file, the
Use a FileWriter with second argument 'true' and a BufferedWriter:
FileWriter writer = new FileWriter("outFile.txt", true); BufferedWriter out = new BufferedWriter(writer);