![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
![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)
java - scanner doesn't wait for input when i used nextLine after using nextInt().Is it a bug - Stack Overflow
![SOLVED: Scanner input = new Scanner(System.in); int v1 = input.nextInt(); int v2 = input.nextInt(); String line = input.nextLine(); Select one: After the last statement is executed, v1 is 34. The program has SOLVED: Scanner input = new Scanner(System.in); int v1 = input.nextInt(); int v2 = input.nextInt(); String line = input.nextLine(); Select one: After the last statement is executed, v1 is 34. The program has](https://cdn.numerade.com/ask_images/c79b02abd1a94f17934b61e2c16ec7db.jpg)
SOLVED: Scanner input = new Scanner(System.in); int v1 = input.nextInt(); int v2 = input.nextInt(); String line = input.nextLine(); Select one: After the last statement is executed, v1 is 34. The program has
![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://i.redd.it/mpioivxkolx51.png)