Scanner.next() returns the next token, without eating the next line that comes after it. So when you get the character entered, the next token available is the next line that's still there. You then...