Which of these methods are used to read in from file?
scan()
get()
readFileInput()
read()
None of these
Correct Option: D
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.