Menu

[solved]-Wrong Following Code X 1 X Q39062445

What is wrong with the following code? x=1; while (x<5); { System.out.println (x); x++; Select one: O a. Semicolon at the end

What is wrong with the following code? x=1; while (x<5); { System.out.println (x); x++; Select one: O a. Semicolon at the end of the while expression O b. Incorrect use of prefix increment operator o C. Incorrect initialization O d. Syntax error in the println method Show transcribed image text What is wrong with the following code? x=1; while (x

Expert Answer


Answer to What is wrong with the following code? x=1; while (x… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *