What does the following statement output? for(b = 1; b > 3; ++b) System.out.print(b + );

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
c. 1 2 3 4
d. Nothing

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: