![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)
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 ?
![scanner输入各种类型的数据,Scanner下next()和nextLine()的区别,nextInt()后读取空后跟nextLine()_ scanner输入的是什么类型的_屿山海的博客-CSDN博客 scanner输入各种类型的数据,Scanner下next()和nextLine()的区别,nextInt()后读取空后跟nextLine()_ scanner输入的是什么类型的_屿山海的博客-CSDN博客](https://img-blog.csdnimg.cn/20210326195245354.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQzMzYzMDY2,size_16,color_FFFFFF,t_70)
scanner输入各种类型的数据,Scanner下next()和nextLine()的区别,nextInt()后读取空后跟nextLine()_ scanner输入的是什么类型的_屿山海的博客-CSDN博客
![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)