A

Admin • 828.43K Points
Coach

Q. A message string is returned by which method of an Exception object?

  • (A) printMessage()
  • (B) getMessage()
  • (C) printStackTrace()
  • (D) Always after the execution of a try block, regardless of whether or not an exception is thrown
  • Correct Answer - Option(D)
  • Views: 16
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.