a "input.nextFoo" ?
if so it's a known problem, I solve it by adding one more "input.nextLine()" after the .nextFoo..
the other solution is to use input.nextLine() for all inputs, and convert it later, (example input.nextLine() for int, then ParseInt(string) )
Thank's for you ansawer! I discovered the problem, I tried to make with springbootapplication and when they run are not all good working, then I tried to implementes CommandLinne and then goes work perfect!
Обсуждают сегодня