Which method in Throwable is used to get the cause of exception?
Correct answer
getCause()
Explanation
getCause() returns the cause of the exception (if any).
Update: Admin added a tag on this question
Topics
By Admin · · 29 views