What is the Output of this Program?

    big_loop:
    for (int i = 0; i < 3; i++) {
        try {
            for (int j = 0; j < 3; j++) {
                if (i == j) {
                    continue;
                } else if (i > j) {
                    continue big_loop;
                }
                System.out.print("A ");
            }
        } finally {
            System.out.print("B ");
        }
        System.out.print("C ");
    }

Answer: A A B C B B

Comments

huahh, baru tau gw Java bisa

huahh, baru tau gw Java bisa pake label gitu, jadi inget the oldies basic :P

Masih jaman yah spaghetti

Masih jaman yah spaghetti code? :P

finally i know what finally

finally i know what finally does

empat kali salah nulis captcha

Re

Here’re extraordinary recommendations about the correct way to get the academic grade. Thus, students should look through the outcome about this good post and write the supreme poetry & poets essays. The more simple way is to choose the professional cheap essay writing service and just purchase essay in Internet. I hope that helps.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.