How can you append text to an existing file instead of overwriting it?
Use BufferedWriter with the append flag set to true.
Use PrintWriter with the append method.
Use FileOutputStream with the append flag set to true.
Use FileWriter with the append flag set to true.