Multiple Choice
Which statement is true regarding the following code, assuming reader is a FileInputStream object? char ch = (char) reader.read() ;
I you cannot determine if you have reached the end of input
II this code will throw an exception if we are at the end of input
III read returns an int, so the cast is illegal
A) I
B) II
C) III
D) I and II
Correct Answer:

Verified
Correct Answer:
Verified
Q17: How many bytes does the read method
Q18: Objects are saved in _ format in
Q19: Why does FileInputStream override the read method
Q20: The two IO classes used for serialization
Q21: Use a _ object to access a
Q23: A byte is composed of _ bits
Q24: Which is not a method available in
Q25: Caesar cipher uses a shift of each
Q26: If you write a simple Student class,
Q27: If you store information in binary form,