The nextLine() method only works for one time. The program fails when there is a loop.
Type: Posts; User: Loh Jane
The nextLine() method only works for one time. The program fails when there is a loop.
Hi Java professionals,
I am trying to write a program and the name variable can only store letters,dotes and spaces. But whenever I enter a space, the program doesn't work. Please help, thanks in...