Question: Javas PrintWriter class is more versatile than the BufferedWriter class because it has more methods. Modify this chapters BufferedWriteToFile program so that instead of using
Java’s PrintWriter class is more versatile than the BufferedWriter class because it has more methods. Modify this chapter’s BufferedWriteToFile program so that instead of using BufferedWriter’s write method, it uses PrintWriter’s println method. Create a PrintWriter object by using the current program’s BufferedWriter object as the argument in a PrintWriter constructor.
Step by Step Solution
3.34 Rating (163 Votes )
There are 3 Steps involved in it
Sure lets revisit the concept first The Javas PrintWriter class is indeed more versatile than the Bu... View full answer
Get step-by-step solutions from verified subject matter experts
