Solved

Assume Infile Is a BufferedReader for a Textfile and That

Question 36

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents