Difference or no difference
class Test
{
publicstaticvoid main(String args[])
{
int i=0, j=0;
X1:for(i = 0; i < 3; i++)
{
X2:for(j = 3; j > 0; j--)
{
if(i < j)continue X1;
elsebreak X2;
}
}
System.out.println(i+" "+j);
}
}
I understand the differences between continue and break (or at least hope I do), but want to make sure if I am right in thinking that in the above code there is actually no difference between the usage of the continue or break statements?
What I mean is - they both achieve the same end don't they?

