What is returned by the read method when a FileInputStream has reached the end of the file?
A) -1
B) -2
C) '\n'
D) 0
Correct Answer:
Verified
Q34: If you write a simple Student class,
Q35: Caesar cipher uses a shift of each
Q36: What is the highest value for a
Q37: Caesar cipher uses a shift of each
Q38: How many bytes does the read method
Q40: Caesar cipher uses a shift of each
Q41: Which method in the RandomAccessFile class provides
Q42: What do we call the measure in
Q43: The values of the byte type range
Q44: Why does FileInputStream override the read method
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