1) : What does the following code print? a) 5 b) 0 c) 4 d) Compilation Error 2) What does the following code print? a) 5 6 7 8 9 b) 4 5 6 7 8 9 10 11 12 c) 3 5 7 9 11 d) 3 4 5 6 7 8 9 10 11 12 3) how many times does the following method print * ? a) 9 b) 7 c) 6 d) 10 4) How many times does the following method print * ? a) 7 b) 8 c) 12 d) 13 5) How many times does the following method print a * a) 4 b) 5 c) 6 6) How many times does the following method print * ? a) 7 b) 8 c) 9 7) What does the following code print? a) 1 2 3 4 b) 1 2 3 4 5 c) 0 1 2 3 4 d) 0 1 2 3 4 5 8) What does the following code print? a) 3 4 5 6 7 8 b) 3 4 5 6 7 8 9 c) 0 1 2 3 4 5 6 7 8 d) 0 1 2 3 4 5 6 7 8 9 e) It is an infinite loop 9) What is the value of "age" in the below Java program with a DO-WHILE loop? a) 20 b) 21 c) Compiler error d) None 10) choose the correct a) a b) b c) c d) d e) e

Leaderboard

Visual style

Options

Switch template

Continue editing: ?