Question: Assume that the following code fragment is inside of a program that compiles successfully. What does the code fragment print? for (int i=0, j=0; ;
Assume that the following code fragment is inside of a program that compiles successfully. What does the code fragment print?

for (int i=0, j=0; ; i++, j++) { } System.out.print(i + j + " ") ;
Step by Step Solution
3.29 Rating (152 Votes )
There are 3 Steps involved in it
The code fragment generates ... View full answer
Get step-by-step solutions from verified subject matter experts
