Solved

Which of the Following Statements About Using a PrintWriter Object

Question 31

Multiple Choice

Which of the following statements about using a PrintWriter object is NOT true?


A) PrintWriter is an enhancement of the PrintStream class.
B) A program can write to a PrintWriter using println.
C) A PrintWriter will be automatically closed when the program exits.
D) Data loss may occur if a program fails to close a PrintWriter object before exiting.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions