Read the following code
public class test{
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("EI");
}
finally{
++i;
}
}catch(Exception outer){
i+=3;
}finally{
--i;
}
}
}
}
can anyone explain how i get the output as 4 5
thankx in advance