The continue statement cannot be used with
Answer: D
Correct answer: switch
continue means “begin the next iteration”, so it belongs to the three loops. A switch has no iterations, so a continue written inside one is either applied to an enclosing loop or, if there is none, rejected. break, by contrast, works in all four.
Please log in or register to report this question.