Exception in thread \"main\" java.util.InputMismatchException
What it indicates for me while I\'m using it with scanner class? Complete stacktrace
Please see the docs at the JavaDoc.
The answer should be clear:
Thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.