Engineering Full Stack Apps with Java and JavaScript
What will the following code print?
public class BreakTest{ public static void main(String[] args){ int i = 0, j = 5; lab1 : for( ; ; i++){ for( ; ; --j) if( i >j ) break lab1; } System.out.println(" i = "+i+", j = "+j); } }
Select 1 option
A. i = 1, j = -1
B. i = 1, j = 4
C. i = 0, j = 4
D. i = 0, j = -1
E. It will not compile.