Course contentsShow
Java
Lesson 2013 of 2,87040. File I/O: Character StreamsPro lesson

Empty Lines and readLine Behavior

Learn that readLine() returns an empty string for blank lines, not null, distinguishing between empty lines and EOF.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.