in JAVA by
Q:
What do you mean by chained exceptions in Java?

i) Exceptions occurred by the VirtualMachineError

ii) An exception caused by other exceptions

iii) Exceptions occur in chains with discarding the debugging information

iv) None of the above

► Click here to show 2 Answers

0 votes
by

An exception caused by other exceptions.

Reason: In Java, an exception caused by other exceptions is known as a chained exception. Generally, the first exception causes the second exception. It helps in identifying the cause of the exception. In chained exceptions, the debugging information is not discarded.

Hence, the correct answer is option (ii).

0 votes
by

(b) An exception caused by other exceptions.

Reason: In Java, an exception caused by other exceptions is known as a chained exception. Generally, the first exception causes the second exception. It helps in identifying the cause of the exception. In chained exceptions, the debugging information is not discarded.

JAVA
Learn More with Madanswer

Related questions

0 votes
asked Apr 8 in JAVA by SakshiSharma
...