Kotlin Tutorial #21: Using break and continue
Channel: Peter Sommerhoff
Date: 2020-11-14

Join the Kotlin Developer Track early bird: https://www.codealong.tv/f/early-bird-signup

You already know how to use for loops and while loops. In this video, you'll learn how to skip iterations of any such loop using break and continue. While break will make the program execution jump behind the loop, preventing all further iterations, continue will only skip the rest of the current iteration and jump back to the beginning of the loop, essentially just skipping over to the next iteration.


Let me know what other tutorials you want to see (takes just 1 minute): https://petersommerhoff.typeform.com/to/mTEh94