what is definition of bufferedwriter
How to write to file in Java â BufferedWriter. In Java, you can use java.io.BufferedWriter to write content to a file. The BufferedWriter is a character stream class to handle the character data. Unlike byte stream (convert data into bytes), you can just write the strings, arrays or character data directly to a file. 1. Classic BufferedWriter.