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
Q25: How many bytes does the read method
Q26: What is the lowest value for a
Q27: Caesar cipher uses a shift of each
Q28: Caesar cipher uses a shift of each
Q29: Caesar cipher uses a shift of each
Q31: How many bytes does the read method
Q32: If we read a byte and the
Q33: What is the result of the following
Q34: If you write a simple Student class,
Q35: Caesar cipher uses a shift of each
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