Which of these methods are present in the Throwable class?

  1. getMessage()
  2. getCause()
  3. printStackTrace()
  4. All of the above
Correct answer All of the above

Explanation

Throwable contains all these methods to describe the exception.

Update: Admin added a tag on this question

Topics

By Admin · · 28 views