0
Todo list
Can anyone help me where is the problem??đ https://code.sololearn.com/c7Qcb8BufXDQ/?ref=app
1 Answer
+ 3
Use single scanner object.
No need multiple. and it won't work for same stream.
Other works but use
String name = input.nextLine(); // instead next(), pointer won't go next line. If the input in separate lines, use nextLine() method for strings..