Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void save()
- throws IOException {
- String str = "TEST";
- String fileName;
- fileName = "output.txt";
- BufferedWriter writer = new BufferedWriter(new FileWriter(fileName, true));
- writer.append('\n');
- writer.append(str);
- writer.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement