Print using nested for loop - Java Quiz Question


What will be the output of the following program?


A
i = 2 j = 7
i = 2 j = 8
i = 2 j = 9
i = 3 j = 7
i = 3 j = 8
i = 3 j = 9
i = 4 j = 7
i = 4 j = 8
i = 4 j = 9
i = 5 j = 7
i = 5 j = 8
i = 5 j = 9
B
No Output
C
Compilation Errors
D
i = 2 j = 7
i = 2 j = 8
i = 3 j = 7
i = 3 j = 8
i = 4 j = 7
i = 4 j = 8
i = 5 j = 7
i = 5 j = 8