Use this tag on questions regarding input mismatch exceptions that occur when using the `Scanner` object.
The InputMismathException
is a Java I/O exception that is thrown when the Scanner
object encounters an input which it does not expect. An example would be expecting a double, but receiving a String token instead. This is a runtime exeception that inherits from NoSuchElementException
.