Question: What does the following statement output? for(b = 1; b > 3; ++b) System.out.print(b + ); a. 1 1 1 b. 1 2 3
What does the following statement output?
for(b = 1; b > 3; ++b)
System.out.print(b + " ");
a. 1 1 1
b. 1 2 3
c. 1 2 3 4
d. Nothing
Step by Step Solution
3.28 Rating (160 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
