How many methods are available for the exception class?
A. 5
B. 6
C. 7
D. 8
Answer: Option C
Solution(By Examveda Team)
The seven methods are: getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString().Related Questions on Exceptions and Error Handling
What is the description of Error level E_ERROR?
A. Fatal run-time error
B. Near-fatal error
C. Compile-time error
D. Fatal Compile-time error
Join The Discussion