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:
Verified
Q31: A Timer object generates _ at regular
Q32: A disabled component is
A) one that is
Q33: PrintWriter is a better output stream class
Q34: In order to define a keyboard input
Q35: The term "exception propagation" means
A) an exception
Q37: A Swing tool tip is
A) a mechanism
Q38: Which statement is True about BufferedWriters
A) BufferedWriters
Q39: The showDialog method is part of which
Q40: All run-time Errors throw Exceptions.
Q55: Write a set of code that will
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents