class Test
{
    public static void 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;
                else break X2;
            }
        }
        System.out.println(i+" "+j);
    }
Answer is 33 not 03 as stated.please rectify
			
			
									
									
						About Question com.enthuware.ets.scjp.v6.2.657 :
Moderator: admin
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question com.enthuware.ets.scjp.v6.2.657 :
Hello,
The correct answer 3 3 is indeed displayed by the simulator as well.
HTH,
Paul.
			
			
									
									
						The correct answer 3 3 is indeed displayed by the simulator as well.
HTH,
Paul.
- 
				atox86
 - Posts: 1
 - Joined: Wed Apr 21, 2021 10:50 am
 - Contact:
 
Re: About Question com.enthuware.ets.scjp.v6.2.657 :
YOu are right, I as  getting crazy!!! Fix it!!
			
			
									
									
						- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Who is online
Users browsing this forum: No registered users and 9 guests