Solved

Assume Infile Is a BufferedReader for a Textfile and That

Question 48

Multiple Choice

Assume infile is a BufferedReader for a textfile and that the textfile is empty. What is returned from the message infile.readLine( ) ; ?


A) 0
B) null
C) a special character known as the End-of-file marker (EOF)
D) none of the above, the message causes a NullPointerException to be thrown
E) none of the above, the message causes a EndOfFileException to be thrown

Correct Answer:

verifed

Verified

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

Related Questions