Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- output = new FileWriter("output.txt");
- } catch (IOException e) {
- System.out.println("Couldn't create output.txt!");
- e.printStackTrace();
- }
- if (output != null) {
- System.out.println("File create succesfully!");
- writer = new BufferedWriter(output);
- try {
- writer.write(reverse);
- } catch (IOException e) {
- System.out.println("Error!");
- e.printStackTrace();
- Writer.close();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement