If you observe this code for any value of i this will not reach system.out.println(i); i.e if you change for loop to some thing like
(for int=0;i<b;i++) where b can be 3 or 100 or 1000 or maximum value of integer but it will still not reach system.out.println(i); statement.
for(int i = 0; i < 3; i ++){
continue toffer;
System.out.println(i);
}
But if you consider the below code:
final int i=1;
if(i>5)
System.out.println("test");
}
if you can change the value of i to some thing greater than six then there is a chance to reach system.out.println statement.
But in above case if you change the value of i to any thing even if for loop is modified to for(;
it will not reach print statement. Hence it is giving unreachable error.