Live quiz

java - Part 24

Question 1 of 25 Hints left: 3
Q1

What is the output of the following code snippet? int j = 0; while (j < 5) { System.out.print(j + " "); j += 2; }

  • A
  • B
  • C
  • D