I will show you my submitted assignment's answer to give the idea of it
void chkbnch()
{
    System.out.println("\n The students under notice period are =>\n\n");
    for(int i=0;i<25;i++)
    **ol:{**
        int cnm=0;
        int cnm2=0;
        for(int j=0;j<7;j++)
        {
            if(mrks[i][j]>=50)
            {
                cnm++;
            }
            if(cnm==3)
            {
                    //i++;
                    **break ol;**
            }
            if(mrks[i][j]<50)
            {
                cnm2++;
            }
        }
        if(cnm2>=3||cnm<3)
        {
            System.out.println("\n Student id =>"+(i+1));
        }
    }
}
Here I am using break when I don't want the loop to increment and just repeat the loop statement. I know this can be done by also decrementing the loop control but that's not what my question is.
All I want to ask that is this behaviour defined in java or is it just a chance that this is its outcome.
 
     
    