PrintWriter append method not appending
The fact that PrintWriter‘s method is called append() doesn’t mean that it changes mode of the file being opened. You need to open file in append … Read more
The fact that PrintWriter‘s method is called append() doesn’t mean that it changes mode of the file being opened. You need to open file in append … Read more
You are not telling the compiler that there is a chance to throw a FileNotFoundException a FileNotFoundException will be thrown if the file does not exist. try … Read more
If the directory doesn’t exist you need to create it. Java won’t create it by itself since the File class is just a link to … Read more