Modify the BufferedWriteToFile program in Figure 16.7a so that you can write with
PrintWriter’s print, println,and
printfmethods. Instead of defining
fileOutas a
BufferedWriter,define it as a
PrintWriter,using the
PrintWriterconstructor that takes a
BufferedWriterargument.
Figure BufferedWriteToFile class This demonstrates Files.newBufferedWriter with default character set and standard open options. The callout shows entry for a special character set

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.