Forum : continue loop
Brief description  about Online courses   join in Online courses
View Gurpreet kohli 's Profile

continue loop

hi!!// have a look at the following code.run ti by continuing all the three loops one by one and please post ur reasons ... why is this so?//
class cony
{
public static void main(String srgs[])
{
int m=0;
loop1: for(int i=0;i<10;i )
loop2: for(int j=0;j<10;i )
loop3: for(int k=0;k<10;k )
{
System.out.println( m);
if((k==0))
continue loop3;
}}}
Asked by Gurpreet kohli | Mar 6, 2010 |  Reply now
Replies (1)
View arun kumar das 's Profile
Hi Gurpreet,

I hope you were able to fix this and continue with the course.

Regards,
JT
Sep 28, 2010