Multiple Choice
A Java program can handle an exception in several different ways. Which of the following is not a way that a Java program could handle an exception?
A) ignore the exception
B) handle the exception where it arose using try and catch statements
C) propagate the exception to another method where it can be handled
D) throw the exception to a pre-defined Exception class to be handled
E) all of the above are ways that a Java program could handle an exception
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which of the following classes would you
Q12: While the Exception class is part of
Q18: The difference between the throw reserved word
Q29: What are the three standard I/O streams
Q39: A JTextArea can be used to display
Q40: Scroll panes automatically will scroll vertically, but
Q41: In order to have some code throw
Q44: An image (such as a jpg or
Q45: PrintWriter is a better output stream class
Q48: Assume infile is a BufferedReader for a