while Loops

AP Computer Science A· difficulty 3/5

<code>continue</code> inside a loop

  • A

    Throws exception

  • B

    Restarts loop from beginning

  • C

    Skips remainder of current iteration; proceeds to next

    check_circle
  • D

    Exits the loop

Explanation

<code>continue</code> jumps to the next iteration's condition check.

Want 10 more like this — adaptive to your weak spots?

Related questions