Multiple Choice
A message is returned by which method of an Exception object?
A) printMessage()
B) getMessage()
C) printStackTrace()
D) traceMessage()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which of the following inputs would be
Q2: During program execution, if division by zero
Q3: NoSuchElementException is a method of the class
Q5: If you have created an exception class,
Q6: Which of the following is NOT a
Q7: The class Exception and its subclasses are
Q8: The class RuntimeException is the superclass of
Q9: If an exception occurs in a try
Q10: A checked exception is any exception checked
Q11: The StringIndexOutOfBoundsException could be thrown by the