![java - scanner doesn't wait for input when i used nextLine after using nextInt().Is it a bug - Stack Overflow java - scanner doesn't wait for input when i used nextLine after using nextInt().Is it a bug - Stack Overflow](https://i.stack.imgur.com/C5gOQ.png)
java - scanner doesn't wait for input when i used nextLine after using nextInt().Is it a bug - Stack Overflow
At what instance do you use (Scanner scan = new Scanner (System.in) in Java? What does Scanner mean? - Quora
Why so, when I used to take string input through nextLine method of scanner class in Java, it does not read my input? - Quora
![java - scanner doesn't wait for input when i used nextLine after using nextInt().Is it a bug - Stack Overflow java - scanner doesn't wait for input when i used nextLine after using nextInt().Is it a bug - Stack Overflow](https://i.stack.imgur.com/dXei6.png)