In Java, why the Scanner class's nextLine () doesn't work if immediately declared after nextInt()? | Sololearn: Learn to code for FREE!

0

In Java, why the Scanner class's nextLine () doesn't work if immediately declared after nextInt()?

5/23/2020 5:46:34 PM

Shounak Todankar

1 Answer

New Answer

+5

See Ipang's answer: https://www.sololearn.com/Discuss/2099456/?ref=app