Hai All,
class Question{
public static void main(
String args[]){
for(int i=0;i<10;i++){
try{
try{
if(i % 3 == 0)
throw new Exception("EO");
System.out.println(i);
} catch (Exception inner){
i *= 2;
if(i % 3 == 0)
throw new Exception("E1");
} finally{
++i;
}
}catch(Exception outer ){
i+= 3;
}finally{
--i;
}
}
}
}
Can anyone tell me how the above code is executed(I mean the order of execution and the output).
Thanks
sudha