What is the output of the following code? b = 3; while(b < 6) System.out.print(b +

Question:

What is the output of the following code?
b = 3;
while(b < 6)
System.out.print(b + " ");
a. 3
b. 3 4 5
c. 3 4 5 6
d. 3 3 3 3 3 3 …

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

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: