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
Q2: During program execution, if division by zero
Q6: Which of the following is NOT a
Q9: If an exception occurs in a try
Q16: Which of the following statements is true?<br>A)
Q22: The JList GUI component generates events that
Q23: The class Throwable is derived from the
Q38: import java.util.*;<br>Public class ExceptionExample1<br>{<br>Static Scanner console =
Q38: The class Object is derived from the
Q40: The methods getMessage and printStackTrace are private
Q43: import java.util.*;<br>Public class ExceptionExample1<br>{<br>Static Scanner console =