Tuesday, November 29, 2011

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

The read() method returns -1 when it has reached the end of a file.
Category:Java Interview Questions

No comments:

Post a Comment