answersLogoWhite

0

A Nested Try Catch statement is nothing but a Try catch block inside either the Try or Catch or Finally block of an existing try-catch block.

Ex:

try {

...

try {

...

} catch (Exception ex) {

...

} finally {

...

}

} catch (Exception e){

...

} finally {

...

}

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you exit in nested loop in java?

You may exit a nested loop in Java using a break with a label for the outer loop.


Does java supports nested if?

Yes


Use nested loops to create pyramid of letters?

a pyramid with letters java application


What is the difference between local class and nested class?

The main difference between a local class and a nested class is, local class can be used for once of a perticular part where as nested class can be used used anywhere through out the program. You may get clear information regarding Interview Questions at http://www.bigvacancies.com/java-interview-questions/


What is a nested loop in java?

A nested loop is a (inner) loop that appears in the loop body of another (outer) loop. The inner or outer loop can be any type: while, do while, or for. For example, the inner loop can be a while loop while an outer loop can be a for loop.


Write a program in Java which will print all nested loop between 1 to 500?

Sure! Here's a Java program that will print all the nested loops between 1 to 500: public class NestedLoopExample { public static void main(String[] args) { for (int i = 1; i <= 500; i++) { for (int j = 1; j <= 500; j++) { System.out.println("i=" + i + ", j=" + j); } } } } This program uses two nested for loops to iterate from 1 to 500. It prints the value of i and j for each iteration of the loops.


What is nested logic?

In Nested Logic a Logic is contained within a Logic. If the Outer Logic is TRUE then the internal Logic is executed. Nested IF, Nested For, Nested While, e.t.c are some examples of Nested Logic in Modern Computer Languages.


What is nested if then else patterns?

Many if..then..else statements in one. eg from Java if (this_is_true) { if (this_is_also_true) {//do this } else { //first statement was true, second was false } } else { //Nothing was true }


When was Nested created?

Nested was created in 1977.


How do you write a java program to find the transpose of the matrix for the given elements?

You basically write a nested for loop (one for within another one), to copy the elements of the matrix to a new matrix.


How do you find the average of rows and columns in a 2d array in java?

You add up all the array elements, then divide by the number of elements. You can use a nested for() loop in Java; inside the inner for() loop, you can both increase a counter (to count how many elements there are), and add to a "sum" variable.


Why nested comment are not allowed on C language?

C and C++ do it for ease of parsing. This way, when they hit a comment start of /*, the parser can trivially scan to the end. Otherwise, it would have to set up and maintain a stack, and then report errors if the comment tokens are unmatched. As to why Java does it, the answer is simple - Java's syntax was designed to emulate C and C++, to trick people into thinking it was just as fast (in the beginning, Java was purely interpreted, so this trick WAS necessary to get traction). If nested comments were allowed, it might trip up some C programmers, and many angry blog posts would be written!