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