Multiple Choice
Methods that process String arguments as if they were numbers could possibly throw a/an _________ exception.
A) NumberFormatException
B) NullPointerException
C) both a and b
D) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q25: If a method does not catch an
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
Q29: Define an exception class called FileNotFoundException.The class
Q31: If a method throws an exception,and the
Q32: When using the Scanner class one should
Q33: All exceptions are descendants of the class:<br>A)Throwable<br>B)Catchable<br>C)Tryable<br>D)Blockable
Q34: The two most important things about an
Q35: The basic way of handling exceptions in