What value does readLine() return when it has reached the end of a file?

Q

What value does readLine() return when it has reached the end of a file?

✍: Guest

A

The readLine() method returns null when it has reached the end of a file.

2012-10-05, 2461👍, 0💬