?
How many methods are available for the exception class?
Answer & Solution
Correct Answer:
Option
C
The seven methods are: getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString().
Join the Discussion
Login to post a comment or share your explanation.
Login