Any idea on why this is happening? through the commented out System.out.println (listedRotations) I know that it is doing the input.readInt () fine, but it's the step after that where it checks about ...
There isn't such a thing in standard Java AFAIK. EOF is more of a concept than a character. Most Java file functions return null when they hit EOF, so maybe you could use that.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results