![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
Sharopedia: Struck With Scanner Class In Java - nextLine() doesn't work after nextInt() or nextDouble() - Here is the solution
![What is a scanner class in java?. The scanner class is mainly used to get… | by Keertijadhav | Medium What is a scanner class in java?. The scanner class is mainly used to get… | by Keertijadhav | Medium](https://miro.medium.com/v2/resize:fit:1286/1*QJmW_BGB_8UMwuuhxDQAfw.jpeg)
What is a scanner class in java?. The scanner class is mainly used to get… | by Keertijadhav | Medium
![I dont understand java scanner, im doing this course, I dont understand the .nextLine() , next() , nextInt() . I searched it but didnt understand any of it, can someone please explain ? I dont understand java scanner, im doing this course, I dont understand the .nextLine() , next() , nextInt() . I searched it but didnt understand any of it, can someone please explain ?](https://preview.redd.it/mpioivxkolx51.png?width=640&crop=smart&auto=webp&s=402e4681861e0720705fbdf8bab34b612b3aaea1)