Engineering Full Stack Apps with Java and JavaScript
What will the following program print?
class Test{ public static void main(String args[]){ int i=0, j=0; X1: for(i = 0; i < 3; i++){ X2: for(j = 3; j > 0; j--){ if(i < j) continue X1; else break X2; } }System.out.println(i+" "+j); } }
Select 1 option
A. 0 3
B. 0 2
C. 3 0
D. 3 3
E. 2 2