Multiple Choice
Which method of an exception object will retrieve a description of the exception that occurred?
A) printStackTrace()
B) printMessage()
C) getMessage()
D) getDescription()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: Consider the following code snippet. File hoursFile
Q16: Assume that inputFile is a Scanner object
Q17: You wish to use the Scanner class's
Q18: Insert the missing code in the following
Q19: Consider the following code snippet: Scanner in
Q21: Insert the missing code in the following
Q22: Consider the following code snippet: Scanner in
Q23: Assuming that inputFile is a Scanner object
Q24: Consider the following code snippet: throw new
Q25: Which statement about handling exceptions is true?<br>A)