Engineering Full Stack Apps with Java and JavaScript
What will be the output when the following program is run?
public class TestClass{ public static void main(String args[]){ int i; int j; for (i = 0, j = 0; j < i; ++j, i++){ System.out.println(i + " " + j); } System.out.println(i + " " + j); } }
Select 1 option
A. 0 0 will be printed twice.
B. 0 0 will be printed once.
C. It will keep on printing 0 0
D. It will not compile.
E. It will print 0 0 and then 0 1.