Multiple choice

Which of the following is a keyword in Java?

  1. Delete

  2. Exit

  3. Main

  4. Continue

  5. Next

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Next is not a keyword in Java. Continue is a keyword in Java. Continue is used inside a loop to skip the current loop step and continue with the next loop step.