nextLine

Reads a line from the input stream.

Return

Returns a line from the input stream in the form a String not including the new line character ('\n'). A '\r' before it is kept. Returns null when there are no more lines.

Throws

Throws IOException when something terrible happens.