For sample program output65 - Java Quiz Question


What will be the output of the following program?


A
i = 7
i = 6
i = 5
i = 4
B
i = 4
i = 5
i = 6
i = 7
C
Compilation error since no condition is present in the for loop.
D
No output since the body of the for loop is never executed.