outer inner loop

package com.vaannila.student;

public class MyFor{
    public static void main(String argv[]){
        int i;
        int j;
        for (i=1;i <3;i++)
    for(j=1; j<3; j++) {
        if (j==2)
        continue outer;
        System.out.println("Value for i=" + i + " Value for j=" +j);

I was trying above example from link
got output like

Value for i=1 Value for j=1
Value for i=2 Value for j=1

I was trying to understand the output. Any links, ideas, resources,sample code highly appreciated. thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This seems to make sense

When i=1 it goes till j= 2 but when j=2 it does not
print already but jumps to the next pass of
outer loop - i becomes 2 and aagian it prints when j=1
but jumps to the outer when j=2
but at this point i becomes 3 and it goes aawya altogether.
break outer; - goes immediately out of
the loop over which you have label "outer"

continue outer; skips the rest activity until
the point when you need to go the next run
of the loop above which you placed  label outer

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.