Multiple Choice
The purpose of the try and catch blocks is to:
A) throw an exception so a compiler error will not be generated.
B) allow the code to jump over the catch block and continue running.
C) allow the code to handle exceptions so it can continue to run.
D) throw an exception so the catch block can identify the compiler error.
Correct Answer:

Verified
Correct Answer:
Verified
Q41: An exception can only be thrown by
Q42: The PrintWriter class is designed for converting
Q43: The Java package that provides most classes
Q44: To read objects from a file, which
Q45: What is the purpose of the following
Q47: When we open a file for appending
Q48: To read from the file favoriteMovies, what
Q49: Which method of the class Scanner do
Q50: Which of the following is the exception
Q51: Replacing the contents of a file with