# Kotlin: Why Break or Continue can’t be used in forEach or repeat, while for and while can use them

In Kotlin while and for block, break and continue can be used, but they can’t be used in forEach or repeat block.

Continue reading Kotlin: Why Break or Continue can’t be used in forEach or repeat, while for and while can use them