Output : public class Test{static public void main(String args[]){ //line 2 int i, j; for(i=0; i<3; i++){for(j=1; j<4; j++){ i%=j; System.out.println(j); } } }
1.Repeatedly print 1 2 3 and cause infinite loop.
2.1 2 3 1
3.1 2 3 2
4.None of these
Posted Date:-2021-10-25 05:21:08