When the method readLine() tries to read beyond the end of a file,it returns the value of:
A) 1
B) -1
C) null
D) none of the above
Correct Answer:
Verified
Q15: An _ allows data to flow from
Q16: All of the following are methods of
Q17: The method _ from the File class
Q18: The output stream connected to the computer
Q19: There are two common classes used for
Q21: The File class contains methods that allow
Q27: Write a Java statement to create and
Q28: Using BufferedReader to read integers from a
Q31: When your program is finished writing to
Q32: Write a Java statement that creates an
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