Multiple Choice
A ____________________ is thrown when the token returned by a Scanner next... method does not match the pattern for the expected data type.
A) ArithmeticException
B) IllegalArgumentException
C) InputMismatchException
D) NumberFormatException
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: A(n) _ class is used to store
Q11: Exception classes that are subclasses of _
Q12: A Java _ specifies the names, parameters,
Q13: The nextInt method will throw a(n) if
Q14: Classes that are not part of a
Q16: ArrayIndexOutOfBoundsException is thrown by the JVM when
Q17: The _ call in a class constructor
Q18: _ errors occur during program execution .
Q19: A data field (or method) with _
Q20: The is-a relationship between classes means that