I attached a screenshot to show you exactly what i mean... I can type anything in the line after "...2+2 " and it will accept it. And even if I initialize Scanner in a different place, it still seems to give me an input line right where I do so..
I did try the println and what Campbell Ritchie suggested in the other post but neither of these worked.. I will find out more about the flush() that rc mentioned when I get the chance..
Thanks Campbell Ritchie for putting in the code tags. Really cool of you..
admin
Username: secret
Password: 4
What is 2 + 2: