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  book-img-for-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: