filmov
tv
How to work with Loops in Kotlin

Показать описание
Hello and welcome to Learn with TAM, I am Tarique Ali Mirza and my goal is to make you a kickass Android Developer.
In today's video, I am going to introduce you to the concept of looping in kotlin with the help of for, while, and do-while loops. I will also briefly discuss the use of break and continue statements within a loop.
So, without further ado, let's jump right in!
Chapters
00:00 Lesson Intro
00:46 Create a new project
01:43 Loops - What are they?
02:49 For loops in Kotlin
04:49 Using Until function within a for loop
06:52 Using Step function within a for loop
08:39 Using DownTo function within a for loop
09:48 Using Negative numbers
12:00 While loops in Kotlin
13:25 Make a for loop using a while loop
15:49 Writing valid conditions
16:38 Do-While loops in Kotlin
19:01 Break statement in Kotlin
20:43 Continue statement in Kotlin
23:16 Final words
Thanks for watching the video, feel free to share your thoughts via YouTube comments. If you liked the video, smash that like button. Also, if you're new to the channel, consider subscribing and don't forget to hit the bell icon to receive timely updates for all future uploads.
I'll see you in the next on!
Links:
Background Music
Song: Electro-Light - Symbolism [NCS Release]
Music provided by NoCopyrightSounds
Комментарии