Computer Science, asked by prasannabollam0805, 3 months ago

Exception Handling techniques using nested try and multiple catch blocks with an example program​

Answers

Answered by markcalhoun
0

Answer:

Below

Explanation:

in  Java, we can use a try block within a try block. Each time a try statement is entered, the context of that exception is pushed on to a stack. Given below is an example of a nested try. In this example, inner try block (or try-block2) is used to handle ArithmeticException,

Similar questions