Solved

Which of the Following Statements About a PrintWriter Object Is

Question 87

Multiple Choice

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


A) A PrintWriter will be automatically closed when the program exits.
B) No data loss will occur if the program fails to close a PrintWriter before exiting.
C) An exception will occur if the program fails to close a PrintWriter before exiting.
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