Can a continue statement be used in a switch statement?

1 answer

Answer

1019991

2026-07-21 10:20

+ Follow

If you have a loop in your switch statement or around your switch statement, you can use the continue statement in that. You cannot use a continue statement outside of a loop (do, for, or while).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.