![java.util.scanner - Scanner with Delimiter as new line - java.util.InputMismatchException in Eclipse - Stack Overflow java.util.scanner - Scanner with Delimiter as new line - java.util.InputMismatchException in Eclipse - Stack Overflow](https://i.stack.imgur.com/w5Tm8.png)
java.util.scanner - Scanner with Delimiter as new line - java.util.InputMismatchException in Eclipse - Stack Overflow
![import java.util.Scanner; class myCode { public static void main(String[] args) { Scanner input= new Scanner(System.in); int num1; System.out.println(“Enter. - ppt download import java.util.Scanner; class myCode { public static void main(String[] args) { Scanner input= new Scanner(System.in); int num1; System.out.println(“Enter. - ppt download](https://images.slideplayer.com/32/9926889/slides/slide_3.jpg)
import java.util.Scanner; class myCode { public static void main(String[] args) { Scanner input= new Scanner(System.in); int num1; System.out.println(“Enter. - ppt download
![Java on X: "How to read input from console using Scanner. #Java https://t.co/V2zLbYwMsJ https://t.co/g87sW6yzmT" / X Java on X: "How to read input from console using Scanner. #Java https://t.co/V2zLbYwMsJ https://t.co/g87sW6yzmT" / X](https://pbs.twimg.com/media/EQL8AFPXsAEbSNY.png)