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
Q21: If you want to process text data
Q23: You cannot read a(n) _ file with
Q24: How many bytes does the read method
Q25: How many bytes does the read method
Q26: What is the lowest value for a
Q30: Caesar cipher uses a shift of each
Q31: How many bytes does the read method
Q33: What is the result of the following
Q35: Caesar cipher uses a shift of each
Q36: What is the highest value for a
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