This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Did you try running it?? The output of the program is 034, just like the mock exam answer. during the first iteration of the code 'i' goes up to 2, 'j' goes down to 0 i/j ( -> 2/0) produces an ArithmeticException: Divide By Zero which is caught by the catch (ArithmeticException e) and prints '0' the finally is always executed and prints '3' then the code exits the try/catch and prints '4'