Difference between java.io.PrintWriter and java.io.BufferedWriter?
The API reference for BufferedWriter and PrintWriter detail the differences. The main reason to use the PrintWriter is to get access to the printXXX methods like println(). You can essentially use a PrintWriter to write to a file just like you would use System.out to write to the console. A BufferedWriter is an efficient way … Read more