🎴 Flashcard Mode

Java Practice Test - 5

Card1 / 25
Mastered0
Review0
QuestionClick to flip

What will be the output of the program?
int I = 0;
label:
if (I < 2) {
System.out.print("I is " + I);
I++;
continue label;
}

AnswerClick to flip back
A
Compilation error
Change Mode