Java Codes - This program was supposed to take an integer from the user as input on the first line and a sentence on the second line and then display the integer
![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
![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)