To Check a call to a print()
method of the PrintWriter class was successful or not?.
Select the one correct answer.
checkError()
method of the PrintWriter class immediately after the print()
method call returns to see if an IOException was thrown.(d)
The print()
methods do not throw an IOException.