Which of these methods are used to read in from file?
(a) get()
(b) read()
(c) scan()
(d) readFileInput()
(a) get()
(b) read()
(c) scan()
(d) readFileInput()
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Right choice is (b) read()
To explain: Each time read() is called, it reads a single byte from the file and returns the byte as an integer value. read() returns -1 when the end of the file is encountered.