Multiple Choice
What is demonstrated by the following code?
Try
{
(try block statements . . .)
}
Catch(NumberFormatException | IOException ex)
{
RespondToError() ;
}
A) Multi-catch, a catch clause that can handle more than one exception, beginning in Java 7
B) A catch clause that can handle either exception type, but not both
C) A conditional catch clause prototype that uses an overloaded OR operator to bind exception types
D) This code is not supported in any version of Java, an error will result.
Correct Answer:

Verified
Correct Answer:
Verified
Q16: The following catch statement can: catch (Exception
Q17: Unchecked exceptions are those that inherit from:<br>A)
Q18: All of the exceptions that you will
Q19: To read data from a binary file
Q20: Given the following constructor code, which of
Q22: If you want to append data to
Q23: If the IOData.dat file does not exist,
Q25: A(n) _ is an object that is
Q26: When writing a string to a binary
Q44: The call stack is an internal list