It would be nice ... if the I/O classes defined an EOF constant that
people could use to check for EOF rather than using -1,like this:
while (System.in.read() != EOF)
. . .
people could use to check for EOF rather than using -1,like this:
while (System.in.read() != EOF)
. . .