Multiple Choice
Which of the following statements reflects the textbook's recommendations about closing files?
A) Both the input and the output file do not need to be explicitly closed in the program.
B) Only the input file must be explicitly closed in the program.
C) Only the output file must be explicitly closed in the program.
D) Both the input and the output file should be explicitly closed in the program.
Correct Answer:

Verified
Correct Answer:
Verified
Q88: Insert the missing code in the following
Q89: Which of the following statements about reading
Q90: When reading words with a Scanner object,
Q91: Under which condition will the Scanner constructor
Q92: Consider the following code snippet: Scanner in
Q94: An example of a fatal error that
Q95: Which of the following is the correct
Q96: Consider the following code snippet: public static
Q97: Insert the missing code in the following
Q98: When you start a Java program from