Multiple Choice
When using an ObjectInputStream to read data from a file,what happens when an end-of-file marker is reached?
A) Nothing occurs.
B) An end-of-file character is read by the program.
C) Method readObject returns the value 0.
D) An EOFException is thrown.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Streams that input bytes from and output
Q3: Class _ provides static methods for common
Q8: Instance variables that are not to be
Q9: Which JFileChooser method returns the file the
Q12: What interface must a class implement to
Q13: Which of the following classes enable input
Q15: When all the contents of a file
Q16: Adding the services of one stream to
Q23: Which statement regarding Java files is false?<br>A)
Q30: Which of the following classes is not