Handling InputMismatchException • By handling InputMismatchException, your program will continuously read an input until it is correct.