![java - Getting InputMismatchException when trying to enter a string with whitespaces - Stack Overflow java - Getting InputMismatchException when trying to enter a string with whitespaces - Stack Overflow](https://i.stack.imgur.com/ik9UV.png)
java - Getting InputMismatchException when trying to enter a string with whitespaces - Stack Overflow
![SOLVED: Can you please help me why I am getting no output here? The below is my code: import java.util.Scanner; import java.util. InputMismatchException; public class NameAgeChecker public static void main(String[] args) Scanner scnr = SOLVED: Can you please help me why I am getting no output here? The below is my code: import java.util.Scanner; import java.util. InputMismatchException; public class NameAgeChecker public static void main(String[] args) Scanner scnr =](https://cdn.numerade.com/ask_images/990bf76b17ef4436a14239c43aac1cfb.jpg)
SOLVED: Can you please help me why I am getting no output here? The below is my code: import java.util.Scanner; import java.util. InputMismatchException; public class NameAgeChecker public static void main(String[] args) Scanner scnr =
![import java.util.scanner; import java.util.inputmismatchexception; public class powerresistorexcepthandling - Brainly.com import java.util.scanner; import java.util.inputmismatchexception; public class powerresistorexcepthandling - Brainly.com](https://us-static.z-dn.net/files/da0/3f3a65e9145ab06efc799b03dbd72fed.png)