![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
![jpa - Scanner.skip("[\r\n]+") not reading end of the line exception: java.util.NoSuchElementException - Stack Overflow jpa - Scanner.skip("[\r\n]+") not reading end of the line exception: java.util.NoSuchElementException - Stack Overflow](https://i.stack.imgur.com/9DyW4.png)
jpa - Scanner.skip("[\r\n]+") not reading end of the line exception: java.util.NoSuchElementException - Stack Overflow
Sharopedia: Struck With Scanner Class In Java - nextLine() doesn't work after nextInt() or nextDouble() - Here is the solution
![ISH4N on Twitter: "Why is the Java Scanner class ignoring your string input (using nextLine method) after you take an integer or a double input using Scanner class? Read the code and ISH4N on Twitter: "Why is the Java Scanner class ignoring your string input (using nextLine method) after you take an integer or a double input using Scanner class? Read the code and](https://pbs.twimg.com/media/FD14VZ2VUAoVtOQ.png)