Multiple Choice
When using the Scanner class one should account for a/an:
A) NumberFormatException
B) InputMismatchException
C) ArrayIndexOutOfBoundsException
D) PowerFailureException
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: Every exception class is an ancestor of
Q7: Revise the program in number 8 above
Q23: If a method throws an exception,and the
Q25: Try blocks contain code that could possibly:<br>A)handle
Q26: The execution of a throw statement is
Q26: List five common examples of exceptions that
Q27: Write a complete Java program that prompts
Q28: Define an exception class called DiskDriveNotReady.The class
Q30: Exception handling is an example of a
Q31: A runtime exception is a/an:<br>A)checked exception<br>B)unchecked exception<br>C)offending