What will be the output of the program?


			  		

Loading

Choose the correct option.

What will be the output of the program?

int I = 0; 
label: if (I < 2) {
System.out.print("I is " + I);
I++;
continue label;
}

 

A. I is 0
B. I is 0 I is 1
C. Compilation fails.
D. None of these