How do I stop for loop Kotlin?

The break statement is used to terminate the loop immediately without evaluating the loop condition. As soon as the break statement is encountered inside a loop, the loop terminates immediately without executing the rest of the statements following break statement.

Sizin İçin Seçtik  Is 5G Wi-Fi faster than regular Wi-Fi?

Leave a Reply

Your email address will not be published. Required fields are marked *