Which one of the following methods in the exception class, is used to get a nested exception object?

Which one of the following methods in the exception class, is used to get a nested exception object? Correct Answer getPrevious()

getCode() – Get the code integer that was passed to the constructor. getFile() – Get the file in which the exception was generated. getLine() – Get the line number at which the exception was generated.

Related Questions

Nested documents in the HTML can be done using