Solved

Which of the Following Statements About Using a PrintWriter Object

Question 29

Multiple Choice

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


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

Correct Answer:

verifed

Verified

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

Related Questions