Tests: Оператор continue в Java

Check your knowledge — 4 questions

Progress 1/4

Question 1 of 4

Что будет выводом следующей программы?

class Example {
    public static void main(String[] args) {
        int y = 0;
        label:
        if (y < 2) {
            System.out.print("y is " + y);
            y++;
            continue label;
        }
    }
}

Select all that apply.

0 selected