readLine() method of DataInputStream class reads line from file & returns it as string - Core Java
Q. Which method of DataInputStream class reads a line from the file and returns it as a string?- Published on 17 Jul 15a. WriteInt()
b. readLine()
c. readInt()
d. writeDouble()
ANSWER: readLine()