Sharopedia: Struck With Scanner Class In Java - nextLine() doesn't work after nextInt() or nextDouble() - Here is the solution
![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?auto=webp&s=20bf3b5638a5610c21c0c9418e1d9618e6945a12)
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 ?
![SOLVED: Java 1 Fix Code to Talk package mine; import java.util.*; import java.io.*; public class mine public static void main(String[] args) throws IOException // Creating object 'input' for Scanner class Scanner input = SOLVED: Java 1 Fix Code to Talk package mine; import java.util.*; import java.io.*; public class mine public static void main(String[] args) throws IOException // Creating object 'input' for Scanner class Scanner input =](https://cdn.numerade.com/ask_images/a750f6f65ed845fe9e5c59f8a642daad.jpg)